On Tue, Jul 29, 2008 at 02:25:21PM +0400, Dmitry Teslenko wrote:
> These solution work and enforce data integrity as needed. Sadly, database
> interface I use (Trolltech Qt 3) can't track when trigger aborts
> update or insert. Can I raise exception in trigger or something?

of course. syntax:
RAISE EXCEPTION 'description, with param %', some_param;

depesz

-- 
Linked in: http://www.linkedin.com/in/depesz
jid/gtalk: [EMAIL PROTECTED]
aim:       depeszhdl
skype:     depesz_hdl

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to