Обсуждение: pgsql: Fix for new Boolean node

Поиск
Список
Период
Сортировка

pgsql: Fix for new Boolean node

От
Peter Eisentraut
Дата:
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(-)