mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
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.
This commit is contained in:
@ -1370,6 +1370,7 @@ _outNullTest(StringInfo str, const NullTest *node)
|
||||
WRITE_NODE_FIELD(arg);
|
||||
WRITE_ENUM_FIELD(nulltesttype, NullTestType);
|
||||
WRITE_BOOL_FIELD(argisrow);
|
||||
WRITE_LOCATION_FIELD(location);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1379,6 +1380,7 @@ _outBooleanTest(StringInfo str, const BooleanTest *node)
|
||||
|
||||
WRITE_NODE_FIELD(arg);
|
||||
WRITE_ENUM_FIELD(booltesttype, BoolTestType);
|
||||
WRITE_LOCATION_FIELD(location);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user