summaryrefslogtreecommitdiff
path: root/src/backend/nodes/readfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-22 14:40:27 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-22 14:40:27 -0500
commitc063da1769229efa8d8d21f0d068b3199ea3a6b3 (patch)
tree9337be8e39f8e5d3f2091ed2bf5e1e7828e46798 /src/backend/nodes/readfuncs.c
parent6a75562ed16b5fa52cfd8830e4546972e647db26 (diff)
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/readfuncs.c')
-rw-r--r--src/backend/nodes/readfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c
index ae24d0514fe..563209c5615 100644
--- a/src/backend/nodes/readfuncs.c
+++ b/src/backend/nodes/readfuncs.c
@@ -1044,6 +1044,7 @@ _readNullTest(void)
READ_NODE_FIELD(arg);
READ_ENUM_FIELD(nulltesttype, NullTestType);
READ_BOOL_FIELD(argisrow);
+ READ_LOCATION_FIELD(location);
READ_DONE();
}
@@ -1058,6 +1059,7 @@ _readBooleanTest(void)
READ_NODE_FIELD(arg);
READ_ENUM_FIELD(booltesttype, BoolTestType);
+ READ_LOCATION_FIELD(location);
READ_DONE();
}