Allow parsing expressions with ") -" (scan.l, scan.c only).

Thomas G. Lockhart <lockhart@fourpalms.org>

Commit: 561aead3f163549bfd8fa86c8cf98a38a9bb6981
Author: Thomas G. Lockhart <lockhart@fourpalms.org>
Date: 1998-03-18T16:50:25Z
Releases: 7.1.1
Allow parsing expressions with ") -" (scan.l, scan.c only).
Make "TABLE" optional in "LOCK TABLE" command
 and "... INTO TABLE..." clause.
Explicitly parse CREATE SEQUENCE options to allow a negative integer
 as an argument; this is an artifact of unary minus handling in scan.l.
Add "PASSWORD" as an allowed column identifier.
These fixes will require a "make clean install" but not a dump/reload.

Files

PathChange+/−
src/backend/parser/gram.c modified +4694 −4566
src/backend/parser/gram.y modified +66 −24
src/backend/parser/keywords.c modified +7 −1
src/backend/parser/parse.h modified +69 −63
src/backend/parser/scan.c modified +191 −188
src/backend/parser/scan.l modified +8 −6