Stored Procs / Transaction IDs

Brian <brian@mail.pantalaimon.net>

From: Brian <brian@mail.pantalaimon.net>
To: pgsql-hackers@postgresql.org
Date: 2003-05-28T17:42:20Z
Lists: pgsql-hackers
Is it possible to get the transaction ID of the transaction a trigger
fired on from plpgsql?

I see in postgresql/contrib/dbmirror/pending.c a C based stored procedure
that is accessing this information. I can't find anything in the online
docs for accessing the xid from plpgsql.


Brian Knox
brian@mail.pantalaimon.net