Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #410

perl trigger question

From Marky Mark <marky@mark.com>
Newsgroups comp.databases.postgresql
Subject perl trigger question
Date 2012-09-13 18:36 +0200
Organization A noiseless patient Spider
Message-ID <k2t228$e33$1@dont-email.me> (permalink)

Show all headers | View raw


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?

Back to comp.databases.postgresql | Previous | NextNext in thread | Find similar | Unroll thread


Thread

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

csiph-web