Re: tweak CREATE SEQUENCE grammar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: tweak CREATE SEQUENCE grammar
Date: 2002-09-30 22:55:05
Message-ID: 12463.1033426505@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway <neilc(at)samurai(dot)com> writes:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Patch rejected. Seems we need to address all the SQL standards changes
>> in this area in one patch.

> Why's that?

My two cents: I'm not eager to change our existing semantics of
sequences. If we decide that SQL2002 matches our semantics then it
makes sense to accept their syntax as well as our historical one.
(Unlike Peter and Bruce, I see no reason not to do that work
incrementally, but OTOH there's not much reason not to do it in one
patch either.) But if we decide that the semantics aren't the same
then converging the grammar is probably a mistake.

Accordingly, I think we ought to resolve Peter's objection about the
semantics before deciding how to proceed. The bit Neil quoted sure
sounds like SQL2002 sequences behave like ours; Peter, why do you
think they are different?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2002-09-30 23:00:45 Re: tweak CREATE SEQUENCE grammar
Previous Message Neil Conway 2002-09-30 22:48:59 Re: tweak CREATE SEQUENCE grammar