Re: can you select on an OID?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: can you select on an OID?
Дата
Msg-id 3EA5CE33.1010408@joeconway.com
обсуждение исходный текст
Ответ на can you select on an OID?  ("Jay G. Scott" <gl@arlut.utexas.edu>)
Список pgsql-novice
Jay G. Scott wrote:
> I want to insert a row; one of the items in the row is of
> type SERIAL.  After I insert the row, I want to know what
> value was assigned to the SERIAL item, call it the f_id.

See currval() here:
http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/functions-sequence.html

Joe


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

Предыдущее
От: "Williams, Travis L, NPONS"
Дата:
Сообщение: Select current_timestamp as a different timezone..
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Select current_timestamp as a different timezone..