Re: finding current oid

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: postgresql <pgsql(at)symcom(dot)com>
Cc: PgSQL-SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: finding current oid
Date: 2001-07-06 15:10:15
Message-ID: Pine.LNX.4.30.0107061709170.679-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Roberto Mello 2001-07-06 15:38:00 PL/TclU
Previous Message Jan Wieck 2001-07-06 15:00:14 Re: Cross database foreign keys