postgresql/src
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
..
backend Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
bin Add CSV table output mode in psql. 2018-11-26 15:18:55 -05:00
common Make spelling of "acknowledgment" consistent 2018-10-15 10:06:45 +02:00
fe_utils Fix translation of special characters in psql's LaTeX output modes. 2018-11-26 17:32:51 -05:00
include Add CSV table output mode in psql. 2018-11-26 15:18:55 -05:00
interfaces Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
makefiles Revert all new recent changes to add PGXS options for TAP and isolation 2018-11-26 11:12:11 +09:00
pl Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
port Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix translation of special characters in psql's LaTeX output modes. 2018-11-26 17:32:51 -05:00
timezone Sync our copy of the timezone library with IANA release tzcode2018g. 2018-10-31 09:47:53 -04:00
tools Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
tutorial Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Remove useless symbol from Makefile.global. 2018-11-06 10:57:51 -05:00
Makefile.shlib Don't build static libraries on Cygwin 2018-10-02 16:46:57 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00