[COMMITTERS] pgsql: Fix output of char node fields - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Fix output of char node fields
Date
Msg-id E1dSlj5-0003sm-Tv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix output of char node fields

WRITE_CHAR_FIELD() didn't do any escaping, so that for example a zero
byte would cause the whole output string to be truncated.  To fix, pass
the char through outToken(), so it is escaped like a string.  Adjust the
reading side to handle this.

Branch
------
master

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

Modified Files
--------------
src/backend/nodes/outfuncs.c  | 20 +++++++++++++++++++-
src/backend/nodes/readfuncs.c |  3 ++-
2 files changed, 21 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: psql documentation fixes
Next
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Remove unnecessary pg_is_in_recovery calls in tests