Re: [SQL] Getting last used oid - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: [SQL] Getting last used oid
Date
Msg-id Pine.GSO.4.02A.9912071751580.3057-100000@Panter.DoCS.UU.SE
Whole thread Raw
In response to Getting last used oid  (John C Cusick <jcc2@juno.com>)
List pgsql-sql
On Tue, 7 Dec 1999, John C Cusick wrote:

> How can I call up the last oid used in an insert statement? I've checked

If you are writing in C, you can use the PQoidStatus() function. Similar
functions are provided in other language wrappers as well (e.g., Perl). A
way to do this in psql is going to be in the next release.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-sql by date:

Previous
From: John C Cusick
Date:
Subject: Getting last used oid
Next
From: Stuart Rison
Date:
Subject: Re: [SQL] Fw: Whats happen here?