Re: Trigger function which inserts into table; values from lookup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: novnov <novnovice(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trigger function which inserts into table; values from lookup
Date: 2007-05-21 03:43:26
Message-ID: 28102.1179719006@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

novnov <novnovice(at)gmail(dot)com> writes:
> Any clue re my question?

You've placed the INSERT inside the BEGIN/EXCEPTION block, ergo it's
part of the work to be rolled back on exception.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Siberia 2007-05-21 04:16:15 dump/restore and statistics
Previous Message novnov 2007-05-21 00:36:05 Re: Trigger function which inserts into table; values from lookup