Fix numericlocale psql option when used with a null string and latex and troff

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 58128f7de0e13d39975e0ee41e2de3e8150fce13
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2010-03-01T20:56:06Z
Releases: 8.2.16
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.

Files

PathChange+/−
src/bin/psql/print.c modified +67 −157