]> git.ipfire.org Git - thirdparty/postgresql.git/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:06 +0000 (20:56 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 1 Mar 2010 20:56:06 +0000 (20:56 +0000)
commit58128f7de0e13d39975e0ee41e2de3e8150fce13
tree82c8bb22359573c650408c0cb10449dfefa99f2a
parent7af8e8d671c548f7ba43a5a9aba691ffa0fc1727
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