getting oid of an INSERT automatically

From: "John Brothers" <johnbr(at)undefined(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: getting oid of an INSERT automatically
Date: 2002-08-07 18:39:40
Message-ID: 00fe01c23e41$ca62bca0$0c05050a@johnbr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello all,

In pgplsql, is there any way to get the oid that is returned from an INSERT statement, without
doing a 'follow-up' SELECT for the oid?

failing that, is this possible in jdbc, odbc or DBI?

Thanks,
jb

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ross J. Reedstrom 2002-08-07 18:54:09 Re: running psql in a cron job
Previous Message Tom Haddon 2002-08-07 18:30:53 Re: ALTER TABLE follow up