pgsql: Add parse location fields to NullTest and BooleanTest structs.

Started by Tom Laneover 11 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Add parse location fields to NullTest and BooleanTest structs.

We did not need a location tag on NullTest or BooleanTest before, because
no error messages referred directly to their locations. That's planned
to change though, so add these fields in a separate housekeeping commit.

Catversion bump because stored rules may change.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c063da1769229efa8d8d21f0d068b3199ea3a6b3

Modified Files
--------------
src/backend/nodes/copyfuncs.c | 2 ++
src/backend/nodes/equalfuncs.c | 2 ++
src/backend/nodes/nodeFuncs.c | 18 ++++++++++++++----
src/backend/nodes/outfuncs.c | 2 ++
src/backend/nodes/readfuncs.c | 2 ++
src/backend/optimizer/plan/planagg.c | 1 +
src/backend/optimizer/prep/prepqual.c | 2 ++
src/backend/optimizer/util/clauses.c | 3 +++
src/backend/optimizer/util/plancat.c | 1 +
src/backend/parser/gram.y | 10 ++++++++++
src/backend/parser/parse_expr.c | 1 +
src/backend/rewrite/rewriteManip.c | 1 +
src/include/catalog/catversion.h | 2 +-
src/include/nodes/primnodes.h | 2 ++
14 files changed, 44 insertions(+), 5 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers