Get the OID after an insert

From: Matthias Teege <matthias(at)mteege(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Get the OID after an insert
Date: 2000-07-24 15:41:03
Message-ID: 200007241541.RAA04395@moon.mteege.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Moin,

ist there any possibility to get the OID returned by an
insert clause in a plpgsql function? Something like
"select into intAuftragID id from auftrag ..." but only
for insert.

Bis dann
Matthias

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 2000-07-24 16:05:05 Re: DBD-Pg vs Pg Perl interface
Previous Message David George 2000-07-24 15:27:28 Multithreaded libpq?