Re: [SQL] Getting last used oid

From: John C Cusick <jcc2(at)juno(dot)com>
To: vlady(at)school(dot)digsys(dot)bg
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Getting last used oid
Date: 1999-12-08 17:16:15
Message-ID: 19991208.121700.-793005.0.jcc2@juno.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)school(dot)digsys(dot)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.

Browse pgsql-sql by date

  From Date Subject
Next Message Graeme Merrall 1999-12-08 23:18:47 timestamp/now in views
Previous Message Moray McConnachie 1999-12-08 16:50:34 Re: [SQL] select a part of a name