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 E1W90ku-0001yf-1E@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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/62acbdaae45505bfa49fa80c730d0b289cfb6c0b

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix potential coredump on bad locale value in pg_upgrade.
Next
From: Tom Lane
Date:
Subject: pgsql: Be forgiving of variant spellings of locale names in pg_upgrade.