postgresql/src/bin/initdb
Tom Lane 70b9b9b788 Change initdb and CREATE DATABASE to actively reject attempts to create
databases with encodings that are incompatible with the server's LC_CTYPE
locale, when we can determine that (which we can on most modern platforms,
I believe).  C/POSIX locale is compatible with all encodings, of course,
so there is still some usefulness to CREATE DATABASE's ENCODING option,
but this will insulate us against all sorts of recurring complaints
caused by mismatched settings.

I moved initdb's existing LC_CTYPE-to-encoding mapping knowledge into
a new src/port/ file so it could be shared by CREATE DATABASE.
2007-09-28 22:25:49 +00:00
..
po Translation updates 2006-12-02 01:16:16 +00:00
Makefile Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate 2007-09-27 19:53:44 +00:00
initdb.c Change initdb and CREATE DATABASE to actively reject attempts to create 2007-09-28 22:25:49 +00:00
nls.mk New translations 2005-01-09 17:38:19 +00:00