diff options
author | Peter Eisentraut | 2022-09-13 14:10:44 +0000 |
---|---|---|
committer | Peter Eisentraut | 2022-09-13 14:10:44 +0000 |
commit | 45b1a67a0fcb3f1588df596431871de4c93cb76f (patch) | |
tree | 4bb98640fe0cfda9abc5e656c7c2ad7abec610e1 /doc | |
parent | da5d4ea5aaac4fc02f2e2aec272efe438dd4e171 (diff) |
pg_clean_ascii(): escape bytes rather than lose them
Rather than replace each unprintable byte with a '?' character, replace
it with a hex escape instead. The API now allocates a copy rather than
modifying the input in place.
Author: Jacob Champion <jchampion@timescale.com>
Discussion: https://www.postgresql.org/message-id/CAAWbhmgsvHrH9wLU2kYc3pOi1KSenHSLAHBbCVmmddW6-mc_=w@mail.gmail.com
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions