Re: finding current oid - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: finding current oid
Date
Msg-id Pine.LNX.4.30.0107061709170.679-100000@peter.localdomain
Whole thread Raw
In response to finding current oid  ("postgresql" <pgsql@symcom.com>)
List pgsql-sql
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   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Cross database foreign keys
Next
From: Wei Weng
Date:
Subject: Is function atomic?