]> granicus.if.org Git - postgresql/commit
Fix potential coredump on bad locale value in pg_upgrade.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jan 2014 23:10:06 +0000 (18:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jan 2014 23:10:06 +0000 (18:10 -0500)
commit62acbdaae45505bfa49fa80c730d0b289cfb6c0b
tree4425d80d3e5dbe66436a7878b7bc06635a140fde
parent3e71ce1e9ab73a829ae3ddbcd9b03e6673e39c3e
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.
contrib/pg_upgrade/check.c