Search Postgresql Archives

Re: ALTER Bigserial error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.marlowe@xxxxxxxxx]
Sent: Monday, April 26, 2010 3:49 PM
To: Little, Douglas
Cc: Tom Lane; pgsql-general@xxxxxxxxxxxxxx
Subject: Re: ALTER Bigserial error
 
On Mon, Apr 26, 2010 at 12:59 PM, Little, Douglas
<DOUGLAS.LITTLE@xxxxxxxxxx> 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?
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux