Re: [GENERAL] Sequences/defaults and pg_dump

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Sequences/defaults and pg_dump
Дата
Msg-id 200602091959.k19JxjD00721@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Sequences/defaults and pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Sequences/defaults and pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> Is it also desired to convert an int column to a serial column?
> 
> > I think the only sane solution is if a SERIAL column is changed to
> > INTEGER, the default and dependencies are removed.  Do you want a TODO
> > for that?
> 
> If we are going to do something like that, I think we should take a hard
> look at the idea I floated of putting SERIAL back to a pure
> creation-time macro for type and default expression.  This is getting to
> have way too much hidden behavior, and what we are buying for it is very
> little as of 8.1.

OK, but I was confused how 8.1 has improved the way SERIAL works.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Sequences/defaults and pg_dump
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Upcoming re-releases