Re: [HACKERS] SERIAL type isn't listed...?

Поиск
Список
Период
Сортировка
От Sevo Stille
Тема Re: [HACKERS] SERIAL type isn't listed...?
Дата
Msg-id 3899C39F.6F4AE35F@ip23.net
обсуждение исходный текст
Ответ на SERIAL type isn't listed...?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
The Hermit Hacker wrote:
> 
> Shouldn't this produce something?  Was talking with Dave Page today about
> the lack of a serial type in PgAdmin, and he mentioned that its not a listed
> type?

On 6.5, serial is not a type, but is promoted to "int4 DEFAULT nextval (
'"sequence_name_here"' ) NOT NULL", generating the associated sequence
in the process.

Sevo


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