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

From John C Cusick
Subject Re: [SQL] Getting last used oid
Date
Msg-id 19991208.121700.-793005.0.jcc2@juno.com
Whole thread Raw
List pgsql-sql
Vladimir and all,

the DBD::PG function is exactly why I asked. It's also available
in PHP/FI 3.xx

Because of these functions is why I asked. I can use PHP.
no problem.


Thanks for all your answers. Quick, as usual.

I'm looking forward to 7.0 and the new book. They both
look great so far. 

On Wed, 8 Dec 1999 10:36:51 +0200 (EET) Vladimir Terziev
<vlady@school.digsys.bg> writes:
>
>  Hi John,
>
>  There is diffrent ways to get last used oid.
>
>  Perl DBD::Pg has $oid = $stmt->{pg_oid_status}, where $stmt is a 
>last
>statement related with a insert command.
>
>
>      Vladimir
>
>
>On Tue, 7 Dec 1999, John C Cusick wrote:
>
>> To All,
>> 
>> How can I call up the last oid used in an insert statement?

John C. 

___________________________________________________________________
Why pay more to get Web access?
Try Juno for FREE -- then it's just $9.95/month if you act NOW!
Get your free software today: http://dl.www.juno.com/dynoget/tagj.


pgsql-sql by date:

Previous
From: "Moray McConnachie"
Date:
Subject: Re: [SQL] select a part of a name
Next
From: "Graeme Merrall"
Date:
Subject: timestamp/now in views