postgresql/src/bin/initdb
Tom Lane 853c1750f9 Be more wary in initdb's creation of platform-dependent collations.
Discard any collation aliases that match the built-in pg_collation entries
(ie, "default", "C", "POSIX").  Such aliases would be refused by a CREATE
COLLATION command, but since initdb is injecting them via a simple INSERT,
it has to make the corresponding check for itself.  Per Martin Pitt's
report of funny behavior in a machine that had a bogus "C.UTF-8" locale.

Also, use E'' syntax for the output of escape_quotes, as per its header
comment.
2011-05-10 12:08:47 -04:00
..
po Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
initdb.c Be more wary in initdb's creation of platform-dependent collations. 2011-05-10 12:08:47 -04:00
Makefile Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
nls.mk Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00