Re: tweak CREATE SEQUENCE grammar - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: tweak CREATE SEQUENCE grammar
Date
Msg-id Pine.LNX.4.44.0210072112060.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: tweak CREATE SEQUENCE grammar  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway writes:

> >  "serial" columns are defined like
> >
> >     foo int GENERATED BY DEFAULT AS IDENTITY [(sequence options)]
>
> Wow, that's verbose. I suppose it's still worth supporting, but you've
> got to wonder how the committee every arrived at that syntax...

The above line is just one example.  Some of the key words can be changed
to get different behavior.  All together, it acts as a replacement of the
DEFAULT clause.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Suggested change to pgbench
Next
From: Neil Conway
Date:
Subject: inline newNode()