postgresql/src/backend
Bruce Momjian cf374febf5 >Turning nextval and currval into keywords is not an acceptable way to
>go about this.  That will risk breaking existing applications that use
>those names as column names.
>
>It should actually almost work to write sq.nextval as things stand,
>because Postgres has for a long time considered table.function and
>function(table) to be interchangeable notations for certain kinds of
>functions.  nextval doesn't seem to be one of that kind of function,
>at the moment.  I'd suggest leaving the grammar as it was, and taking a
>look at ParseFuncOrColumn in parse_func.c to see if you can't persuade
>it to accept the sequence functions in that style.

OK, good point. I tried to implement it somewhere else and ended up
extending transformAttr. Attached you'll find the patch.

Jeroen van Vianen
1999-12-16 20:07:41 +00:00
..
access New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
bootstrap Update for QNX. 1999-12-16 16:52:53 +00:00
catalog New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
commands Here's the Create/Alter/Drop Group stuff that's been really overdue. I 1999-12-16 17:24:19 +00:00
executor New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
lib New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
libpq New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
main New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
nodes New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
optimizer fix_parsetree_attnums was not nearly smart enough about walking parse 1999-12-14 03:35:28 +00:00
parser >Turning nextval and currval into keywords is not an acceptable way to 1999-12-16 20:07:41 +00:00
port Update for QNX. 1999-12-16 16:52:53 +00:00
postmaster I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
regex New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
rewrite New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
storage I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00
tcop Here's the Create/Alter/Drop Group stuff that's been really overdue. I 1999-12-16 17:24:19 +00:00
tioga New LDOUT makefile variable for QNX os. 1999-12-13 22:35:27 +00:00
utils Ethernet MAC addresses (macaddr type) are not compared correctly for 1999-12-16 01:30:49 +00:00
Makefile I have done the QNX4 port with the current source tree. The number of 1999-12-16 01:25:23 +00:00