]> 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:04 +0000 (18:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jan 2014 23:10:04 +0000 (18:10 -0500)
commitc1b242b1646137450860cb80683de27be2d86fae
treefe0a85e478c0d6834393ad7ccaee40cf853f782b
parenta4aa854cadc9a8272c08940c93cbaeb3d1c89945
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