]> granicus.if.org Git - postgresql/commit
On Windows, if the encoding implied by locale is not allowed as a
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 15 Apr 2011 17:44:13 +0000 (20:44 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 15 Apr 2011 17:48:00 +0000 (20:48 +0300)
commit1f943dc8fe1377d93253fad9f01e4b0aa8599bbd
tree2e6858d965ef89ac3a370f41b1b0c2a9722af81d
parent3affae58b795fb238bed17c35cadcefabdc1f0ee
On Windows, if the encoding implied by locale is not allowed as a
server-encoding, fall back to UTF-8. It happens at least with the Chinese
locale, which implies BIG5. This is safe, because on Windows all locales
are compatible with UTF-8.
src/bin/initdb/initdb.c