Serial type currval

Поиск
Список
Период
Сортировка
От Oleg Lebedev
Тема Serial type currval
Дата
Msg-id 993DBE5B4D02194382EC8DF8554A52731D7573@postoffice.waterford.org
обсуждение исходный текст
Ответы Re: Serial type currval  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
I am wondering if it's possible to retrieve the current value of a serial type field without using the name of the corresponding sequence?  I know that currval function takes the sequence name as a parameter, but I would like to use the name of the serial field instead. Is this possible?
Thanks.
 
Oleg

*************************************

This e-mail may contain privileged or confidential material intended for the named recipient only.
If you are not the named recipient, delete this message and all attachments.
Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited.
We reserve the right to monitor e-mail sent through our network.

*************************************

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Function to convert
Следующее
От: Robert Treat
Дата:
Сообщение: Re: library version problem, 7.3.2, php, redhat linux