]> granicus.if.org Git - postgresql/commit
Fix numericlocale psql option when used with a null string and latex and troff
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 1 Mar 2010 20:56:15 +0000 (20:56 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 1 Mar 2010 20:56:15 +0000 (20:56 +0000)
commit64e19ac859cd8ef2af4bddd1f33785b8523c1d76
treea49b2238df14e8a6f8afc2e9e6e1446e959bd57f
parent8a0137d785d5107844d489aa83ccb70de66a7653
Fix numericlocale psql option when used with a null string and latex and troff
formats; a null string must not be formatted as a numeric. The more exotic
formats latex and troff also incorrectly formatted all strings as numerics
when numericlocale was on.

Backpatch to 8.1 where numericlocale option was added.

This fixes bug #5355 reported by Andy Lester.
src/bin/psql/print.c