pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
To: PostgreSQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: A PL/PgSQL Question
Date: Fri, 13 Dec 2002 11:41:36 -0800
Message-ID: <200212131141.36957.josh@agliodbs.com> (raw)
In-Reply-To: <20021213175023.75148.qmail@web80302.mail.yahoo.com>
References: <20021213175023.75148.qmail@web80302.mail.yahoo.com>


Ludwig,

>    What is the difference between the first and second
> chunk PL/PgSQL INSERT/UPDATE trigger function code
> aside from the fact that first scenario will result in
> an "ABORT" state?
> 
>   Are there any instances where a NOTICE and a RETURN
> NULL statement is a much better than a RAISE EXCEPTION
> statement?

Not that I have encountered, but YMMV.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (2+ messages)

Message-ID: <200212131141.36957.josh@agliodbs.com>
Permalink:  ../200212131141.36957.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200212131141.36957.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, lud_nowhere_man@yahoo.com
  Subject: Re: A PL/PgSQL Question
  In-Reply-To: <200212131141.36957.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox