Re: [GENERAL] Sequences/defaults and pg_dump

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joachim Wieland <joe(at)mcknight(dot)de>, nikolay(at)samokhvalov(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Sequences/defaults and pg_dump
Date: 2006-02-09 19:59:45
Message-ID: 200602091959.k19JxjD00721@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Ferreira 2006-02-09 20:03:06 Re: Database Comparison tool?
Previous Message Tom Lane 2006-02-09 19:55:17 Re: [GENERAL] Sequences/defaults and pg_dump

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-02-09 20:01:26 Re: Upcoming re-releases
Previous Message Tom Lane 2006-02-09 19:55:17 Re: [GENERAL] Sequences/defaults and pg_dump