Re: Sequence usage patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Sequence usage patch
Date: 2003-05-27 04:21:09
Message-ID: 12714.1054009269@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Rod Taylor <rbt(at)rbt(dot)ca> writes:
> I don't see PREVIOUS as a reserved word, but CURRENT
> certainly is -- WHERE CURRENT OF for cursors, and several other places.

> The attached patch makes CURRENT a reserved word.

I do not think it will be necessary to treat CURRENT as a fully-reserved
word in order to support WHERE CURRENT OF, and accordingly I'm not very
happy with reserving it in order to support this ungainly,
not-yet-and-possibly-never-standard syntax. I still think that Oracle's
syntax is nicer, and by any sane estimate it is more of a real-world
standard than an unapproved 2000-something draft.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-05-27 04:39:56 Re: [BUGS] Bug #928: server_min_messages (log_min_messages
Previous Message Tom Lane 2003-05-27 04:12:10 Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-05-27 04:39:56 Re: [BUGS] Bug #928: server_min_messages (log_min_messages
Previous Message Tom Lane 2003-05-27 04:12:10 Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)