Re: Sequences/defaults and pg_dump

Поиск
Список
Период
Сортировка
От John D. Burger
Тема Re: Sequences/defaults and pg_dump
Дата
Msg-id cafd57251379d4c209b215cc75f3f19d@mitre.org
обсуждение исходный текст
Ответ на Re: Sequences/defaults and pg_dump  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
Ответы Re: Sequences/defaults and pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Sequences/defaults and pg_dump  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
Список pgsql-general
Tom Lane wrote:

> The correct solution to this is to forbid ALTER COLUMN SET DEFAULT on
> a serial column, but we haven't gotten around to enforcing that yet.

Is this per the Standard?  If so, then the oft-repeated mantra that
SERIAL is simply a macro for an INTEGER column with a particular
DEFAULT seems a bit misleading ...

- John D. Burger
   MITRE


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sequences/defaults and pg_dump
Следующее
От: "Benjamin Arai"
Дата:
Сообщение: Syncing Databases Weekly