pgsql: Fix potential coredump on bad locale value in pg_upgrade. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix potential coredump on bad locale value in pg_upgrade.
Date
Msg-id E1W90kt-0001ya-UG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix potential coredump on bad locale value in pg_upgrade.

Thinko in error report (and a typo in the message text, too).  We're
failing anyway, but it would be good to print something useful first.
Noted while reviewing a patch to make pg_upgrade's locale code laxer.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41e364ec67ec3a009574db9d20d1b85a654f95ae

Modified Files
--------------
contrib/pg_upgrade/check.c |    3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Add convenience functions pg_sleep_for and pg_sleep_until.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix potential coredump on bad locale value in pg_upgrade.