Re: Is a SERIAL column a "black box", or not?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Is a SERIAL column a "black box", or not?
Дата
Msg-id 4456B8D5.8030804@calorieking.com
обсуждение исходный текст
Ответ на Re: Is a SERIAL column a "black box", or not?  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
> Sure, but there's no reason that would couldn't allow that with a true
> black-box SERIAL, either. In  fact, you can do it today if you want,
> just by creating a wrapper around nextval(pg_get_serial_sequence()).

Or just use lastval()

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Is a SERIAL column a "black box", or not?
Следующее
От: elein
Дата:
Сообщение: Re: Is a SERIAL column a "black box", or not?