From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make the OVER keyword unreserved. |
Date: | 2013-06-28 15:13:35 |
Message-ID: | E1UsaMh-0001PZ-13@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make the OVER keyword unreserved.
This results in a slightly less specific error message when OVER
is used in a context where we don't accept window functions, but
per discussion, it's worth it to get the benefit of not needing
to reserve this keyword any more. This same refactoring will
also let us avoid reserving some other keywords that we expect
to add in upcoming patches (specifically, IGNORE, RESPECT, and
FILTER).
Troels Nielsen, with minor changes by me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5893ffa79c03824f34ae3d37f211381fd1c17283
Modified Files
--------------
src/backend/parser/gram.y | 90 ++++++++++++++++++++++------------
src/include/parser/kwlist.h | 2 +-
src/test/regress/expected/window.out | 4 +-
3 files changed, 63 insertions(+), 33 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-06-28 21:27:55 | pgsql: pg_upgrade: change -u to -U, for consistency |
Previous Message | Robert Haas | 2013-06-28 13:34:36 | pgsql: Define Trap and TrapMacro even in non-cassert builds. |