finding current oid - Mailing list pgsql-sql

From postgresql
Subject finding current oid
Date
Msg-id 200107061345.f66DjVa66095@postgresql.org
Whole thread Raw
Responses Re: finding current oid  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-sql

Is there a way to return the current oid of a transaction?

I am trying to:

begin;
insert into db something;
select current session oid
commit;

I will only ever be inserting one row during the transaction.

Is this doable?

Thanks for your time.

Ted




pgsql-sql by date:

Previous
From: Jeff Eckermann
Date:
Subject: RE: While Using COPY COMMAND ...
Next
From: Peter Eisentraut
Date:
Subject: Re: While Using COPY COMMAND ...