postgresql/src/fe_utils
Tom Lane 70d7e507ef 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.
2018-11-26 17:32:51 -05:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Add \if support to pgbench 2018-03-22 17:42:03 +03:00
conditional.c Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
mbprint.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
print.c Fix translation of special characters in psql's LaTeX output modes. 2018-11-26 17:32:51 -05:00
psqlscan.l Fix realfailN lexer rules to not make assumptions about input format. 2018-11-13 14:54:41 -05:00
simple_list.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
string_utils.c Ensure schema qualification in pg_restore DISABLE/ENABLE TRIGGER commands. 2018-08-17 17:12:33 -04:00