Re: OID stuff

Поиск
Список
Период
Сортировка
От Derek Clarkson
Тема Re: OID stuff
Дата
Msg-id 200301301036.12036.dhc@bigpond.net.au
обсуждение исходный текст
Ответ на Re: OID stuff  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-novice
Doh! of course. Thanks.

On Thursday 30 January 2003 10:17, you wrote:
> Derek,
>
> > In Postgres, I have to use the 'get diagnostics var = result_oid'
> > statement
>
> to
>
> > get the oid of the new record, then do a select on the table to get the
> > sequence column value for the new record using this oid, to obtain the
> > new sequence value.
>
> Um, what's wrong with "select currval('sequence_name')" ?

--
Derek Clarkson
Web: http://users/bigpond/net/au/drekka


В списке pgsql-novice по дате отправления:

Предыдущее
От: Derek Clarkson
Дата:
Сообщение: Re: New and investigating
Следующее
От: "Juliet May"
Дата:
Сообщение: Re: Good books?