pgsql: Fix for new Boolean node

Started by Peter Eisentrautover 4 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Fix for new Boolean node

The token in nodeTokenType() is actually the whole rest of the string,
so we need to take into account the length to do the correct
comparison.

Without this, postgres_fdw tests fail under
-DWRITE_READ_PARSE_PLAN_TREES.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cf925936ecc031355cd56fbd392ec3180517a110

Modified Files
--------------
src/backend/nodes/read.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)