diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-02-22 14:40:27 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-02-22 14:40:27 -0500 |
| commit | c063da1769229efa8d8d21f0d068b3199ea3a6b3 (patch) | |
| tree | 9337be8e39f8e5d3f2091ed2bf5e1e7828e46798 /src/backend/nodes/equalfuncs.c | |
| parent | 6a75562ed16b5fa52cfd8830e4546972e647db26 (diff) | |
| download | postgresql-c063da1769229efa8d8d21f0d068b3199ea3a6b3.tar.gz | |
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.
Diffstat (limited to 'src/backend/nodes/equalfuncs.c')
| -rw-r--r-- | src/backend/nodes/equalfuncs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c index a90386b800..fe509b0ad1 100644 --- a/src/backend/nodes/equalfuncs.c +++ b/src/backend/nodes/equalfuncs.c @@ -622,6 +622,7 @@ _equalNullTest(const NullTest *a, const NullTest *b) COMPARE_NODE_FIELD(arg); COMPARE_SCALAR_FIELD(nulltesttype); COMPARE_SCALAR_FIELD(argisrow); + COMPARE_LOCATION_FIELD(location); return true; } @@ -631,6 +632,7 @@ _equalBooleanTest(const BooleanTest *a, const BooleanTest *b) { COMPARE_NODE_FIELD(arg); COMPARE_SCALAR_FIELD(booltesttype); + COMPARE_LOCATION_FIELD(location); return true; } |
