Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.postgresql > #410 > unrolled thread
| Started by | Marky Mark <marky@mark.com> |
|---|---|
| First post | 2012-09-13 18:36 +0200 |
| Last post | 2012-09-26 10:05 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.databases.postgresql
perl trigger question Marky Mark <marky@mark.com> - 2012-09-13 18:36 +0200
Re: perl trigger question "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-09-26 10:05 +0200
| From | Marky Mark <marky@mark.com> |
|---|---|
| Date | 2012-09-13 18:36 +0200 |
| Subject | perl trigger question |
| Message-ID | <k2t228$e33$1@dont-email.me> |
Hi,
the psql docs say that a perl trigger can return one of the following:
return;
Execute the statement
"SKIP"
Don't execute the statement
"MODIFY"
Indicates that the NEW row was modified by the trigger function
Skipping, silently ignoring a (failed) INSERT is not nice for my
purposes, I'd like to get at least some error message so the user would
know something went wrong.
Can I not do this or am I dyslexic?
[toc] | [next] | [standalone]
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Date | 2012-09-26 10:05 +0200 |
| Message-ID | <acfr9hFdt67U1@mid.uni-berlin.de> |
| In reply to | #410 |
Am 13.09.2012 18:36, schrieb Marky Mark: > Hi, > > the psql docs say that a perl trigger can return one of the following: > > return; > Execute the statement > "SKIP" > Don't execute the statement > "MODIFY" > Indicates that the NEW row was modified by the trigger function > > Skipping, silently ignoring a (failed) INSERT is not nice for my purposes, I'd like > to get at least some error message so the user would know something went wrong. > > Can I not do this or am I dyslexic? How about elog? /Str.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.databases.postgresql
csiph-web