Received: from m9.boston.juno.com (m9.boston.juno.com [205.231.100.195]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA11606 for ; Wed, 8 Dec 1999 12:26:22 -0500 (EST) (envelope-from jcc2@juno.com) Received: (from jcc2@juno.com) by m9.boston.juno.com (queuemail) id ETB5WFUG; Wed, 08 Dec 1999 12:18:11 EST To: vlady@school.digsys.bg Cc: pgsql-sql@postgresql.org Date: Wed, 8 Dec 1999 12:16:15 -0500 Subject: Re: [SQL] Getting last used oid Message-ID: <19991208.121700.-793005.0.jcc2@juno.com> X-Mailer: Juno 2.0.11 X-Juno-Line-Breaks: 0-13,15-35 X-Juno-Att: 0 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit From: John C Cusick 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 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.