finding current oid

Поиск
Список
Период
Сортировка
От postgresql
Тема finding current oid
Дата
Msg-id 200107061345.f66DjVa66095@postgresql.org
обсуждение исходный текст
Ответы Re: finding current oid  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: RE: While Using COPY COMMAND ...
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: While Using COPY COMMAND ...