pgsql: Fix numericlocale psql option when used with a null string and

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix numericlocale psql option when used with a null string and
Date: 2010-03-01 20:56:16
Message-ID: 20100301205616.018BF7541D1@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/bin/psql:
print.c (r1.79 -> r1.79.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.c?r1=1.79&r2=1.79.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-03-01 21:27:26 pgsql: Fix translation of strings in psql \d output (translation in
Previous Message Heikki Linnakangas 2010-03-01 20:56:06 pgsql: Fix numericlocale psql option when used with a null string and