mirror of https://github.com/postgres/postgres
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.pull/23/head
parent
5191e357cf
commit
d80e73f229
Loading…
Reference in new issue