aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/tqueue.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-21 22:57:23 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-07-05 10:51:54 -0400
commitd80e73f2293429cf8a0a13c243852379ec2e37e2 (patch)
treea54e87faf18d532fc23542084217496940d7ffe7 /src/backend/executor/tqueue.c
parent5191e357cf22e200a9baaf97bbe8a07ee2537537 (diff)
downloadpostgresql-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