From: | "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com> |
---|---|
To: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: ALTER Bigserial error |
Date: | 2010-05-25 15:26:58 |
Message-ID: | 8585BA53443004458E0BAA6134C5A7FB0642D05F@EGEXCMB01.oww.root.lcl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Scott,
Sorry about the late response.
Curiously, what does the SQL spec have to say about autoincrement and
defaults and such?
>From http://savage.net.au/SQL/sql-2003-2.bnf.html#identity%20column%20specification
...
Define a column of a base table.
<column definition> ::=
<column name> [ <data type> | <domain name> ] [ <reference scope check> ]
[ <default clause> | <identity column specification> | <generation clause> ]
[ <column constraint definition> ... ] [ <collate clause> ]
<column constraint definition> ::= [ <constraint name definition> ] <column constraint> [ <constraint characteristics> ]
<column constraint> ::=
NOT NULL
| <unique specification>
| <references specification>
| <check constraint definition>
<reference scope check> ::= REFERENCES ARE [ NOT ] CHECKED [ ON DELETE <reference scope check action> ]
<reference scope check action> ::= <referential action>
<identity column specification> ::=
GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY
[ <left paren> <common sequence generator options> <right paren> ]
-----Original Message-----
From: Scott Marlowe [mailto:scott(dot)marlowe(at)gmail(dot)com]
Sent: Monday, April 26, 2010 3:49 PM
To: Little, Douglas
Cc: Tom Lane; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] ALTER Bigserial error
On Mon, Apr 26, 2010 at 12:59 PM, Little, Douglas
<DOUGLAS(dot)LITTLE(at)orbitz(dot)com> wrote:
> Thanks for the response tom,
> I agree it's more of an missing feature.
> Regarding the concensus for direction. I'd like to see the product move in the direction of the sql standard.
Curiously, what does the SQL spec have to say about autoincrement and
defaults and such?
From | Date | Subject | |
---|---|---|---|
Next Message | Janning | 2010-05-25 15:28:10 | Statement Pooling |
Previous Message | Greg Sabino Mullane | 2010-05-25 15:18:43 | [OT] Re: update from postgresql 8.3.7 to 8.4.4 |