diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-06-21 22:57:23 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-07-05 10:51:54 -0400 |
commit | d80e73f2293429cf8a0a13c243852379ec2e37e2 (patch) | |
tree | a54e87faf18d532fc23542084217496940d7ffe7 /src/backend/executor/tqueue.c | |
parent | 5191e357cf22e200a9baaf97bbe8a07ee2537537 (diff) | |
download | postgresql-d80e73f2293429cf8a0a13c243852379ec2e37e2.tar.gz postgresql-d80e73f2293429cf8a0a13c243852379ec2e37e2.zip |
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.
Diffstat (limited to 'src/backend/executor/tqueue.c')
0 files changed, 0 insertions, 0 deletions