Re: [SQL] finding current oid

2001-07-06 Thread Peter Eisentraut
postgresql writes: > Is there a way to return the current oid of a transaction? Transactions don't have oids, only table rows do. The libpq function PQoidValue() will possibly give you the last affected oid. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---

[SQL] finding current oid

2001-07-06 Thread postgresql
Is there a way to return the current oid of a transaction? I am trying to: begin; insert into db something; select current session oid commit; I will only ever be inserting one row during the transaction. Is this doable? Thanks for your time. Ted ---(end of broad