aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-11-26 17:32:51 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-11-26 17:32:51 -0500
commit70d7e507ef9d380bd46345e984f069207de5e24e (patch)
tree22f1fa97284d9a16c13d43678a5d92e2ff852ebd /contrib/postgres_fdw/postgres_fdw.c
parent95dcb8fc0580c7b1c5f480b3ecaf81c5fc9801ba (diff)
downloadpostgresql-70d7e507ef9d380bd46345e984f069207de5e24e.tar.gz
postgresql-70d7e507ef9d380bd46345e984f069207de5e24e.zip
Fix translation of special characters in psql's LaTeX output modes.
latex_escaped_print() mistranslated \ and failed to provide any translation for # ^ and ~, all of which would typically lead to LaTeX document syntax errors. In addition it didn't translate < > and |, which would typically render as unexpected characters. To some extent this represents shortcomings in ancient versions of LaTeX, which if memory serves had no easy way to render these control characters as ASCII text. But that's been fixed for, um, decades. In any case there is no value in emitting guaranteed-to-fail output for these characters. Noted while fooling with test cases added by commit 9a98984f4. Back-patch the code change to all supported versions.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions