pgsql: Fix potential coredump on bad locale value in pg_upgrade.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix potential coredump on bad locale value in pg_upgrade.
Date: 2014-01-30 23:10:44
Message-ID: E1W90ku-0001yd-0G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c1b242b1646137450860cb80683de27be2d86fae

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-01-31 00:07:13 pgsql: Be forgiving of variant spellings of locale names in pg_upgrade.
Previous Message Tom Lane 2014-01-30 23:10:43 pgsql: Fix potential coredump on bad locale value in pg_upgrade.