]> granicus.if.org Git - postgresql/commit
Make locale_messages_assign() really work on Windows; the prior hack
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 20:02:26 +0000 (20:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Oct 2004 20:02:26 +0000 (20:02 +0000)
commitfae7ce83fefdb5de44ca7f364e3258aea8699edc
tree988e4c9ae2c851f5ef6409291737e26949b31859
parentcc6a90e4afbc0e7d2c5959203814a95fa9eb1123
Make locale_messages_assign() really work on Windows; the prior hack
only covered the case of assigning "", and failed to recognize that
actually setlocale(LC_MESSAGES,...) does not work at all on this platform.
Magnus Hagander, some code prettification by Tom Lane.
src/backend/utils/adt/pg_locale.c