mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +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:
@@ -1023,6 +1023,7 @@ AddInvertedQual(Query *parsetree, Node *qual)
|
||||
invqual = makeNode(BooleanTest);
|
||||
invqual->arg = (Expr *) qual;
|
||||
invqual->booltesttype = IS_NOT_TRUE;
|
||||
invqual->location = -1;
|
||||
|
||||
AddQual(parsetree, (Node *) invqual);
|
||||
}
|
||||
|
Reference in New Issue
Block a user