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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add parse location fields to NullTest and BooleanTest structs.
Date: 2015-02-22 19:40:33
Message-ID: E1YPcOH-0003M4-Ib@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-02-23 11:38:57 pgsql: Fix potential deadlock with libpq non-blocking mode.
Previous Message Tom Lane 2015-02-22 18:59:35 pgsql: Get rid of multiple applications of transformExpr() to the same