Getting rows in statement-level triggers

From: Artacus <artacus(at)comcast(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Getting rows in statement-level triggers
Date: 2008-10-03 03:26:24
Message-ID: 48E590E0.5080401@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

So the manual says there is no way for a statement-level trigger to
examine the row(s) modified by the statement.

Is there any way to get the xmin or cmin of the transaction that fired
the trigger? Or can I look up the last xid for a table some where?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Klint Gore 2008-10-03 05:04:38 Re: How do I save data and then raise an exception?
Previous Message Gurjeet Singh 2008-10-03 03:18:46 Re: How do I save data and then raise an exception?