Re: [GENERAL] using Oids to retrieve a row - Mailing list pgsql-general

From Karl DeBisschop
Subject Re: [GENERAL] using Oids to retrieve a row
Date
Msg-id 199903261632.LAA03496@skillet.infoplease.com
Whole thread Raw
In response to using Oids to retrieve a row  ("David O'Farrell" <dave.ofarrell@aersoft.ie>)
Responses Re: [GENERAL] using Oids to retrieve a row
List pgsql-general
are you doing this in psql?

Or perl, php, or some other?

perl and php both have methods for getting the oid of the last
inserted row (use "$oid = $sth->{'pg_oid_status'};"
 in perl and "$oid = pg_GetLastOid($result_id);" in php )
Look at the php documentation, or do 'perldoc DBD::Pg'
to see more details.

I think the postgres documentation for PL/Tcl also
has a quick and simple way of doing what you want, but I can't seem to
find it now so I'm not sure about that.

Karl

pgsql-general by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [GENERAL] Are postgreSQL views UPDATEable?
Next
From: Mauro Bartolomeoli
Date:
Subject: ERROR: ExecInitIndexScan