Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch
Date: 2007-04-04 19:17:49
Message-ID: 25055.1175714269@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Zoltan Boszormenyi <zb(at)cybertec(dot)at> writes:
> So, I should allow DROP DEFAULT, implement
> SET DEFAULT GENERATED ALWAYS AS
> and modify the catalog so the GENERATED property
> is part of pg_attrdef.

Sounds good.

> What about IDENTITY?
> Should it also be part of pg_attrdef? There are two ways
> to implement it: have or don't have a notion of it.
> The latter would treat GENERATED BY DEFAULT AS IDENTITY
> the same as SERIAL.

Is there any good reason to distinguish the two?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-04-04 19:26:44 Re: Auto Partitioning
Previous Message Zoltan Boszormenyi 2007-04-04 19:14:42 Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-04-04 19:26:44 Re: Auto Partitioning
Previous Message Zoltan Boszormenyi 2007-04-04 19:14:42 Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch