Re: [HACKERS] Sequence objects have no global currval operator?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Sequence objects have no global currval operator?
Дата
Msg-id 11494.900367371@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Sequence objects have no global currval operator?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> How about SELECT * FROM sequence_table_name?

Ah, of course.  The man page for CREATE SEQUENCE only mentions getting
the sequence parameters that way, but you can get the last_value as
well, which is exactly what I need.

Maybe I'll submit a documentation change to make this clearer for the
next guy.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Sequence objects have no global currval operator?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] more nodeError problems and general view failures!