aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-05-10 12:08:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-05-10 12:08:47 -0400
commit853c1750f91feaa6a72b29ae683c955ab6f4df70 (patch)
treec2da4c3eaa8c44067a1a07bb27334fa8f5edf52f /src/backend/commands/async.c
parent5059cf6ebf36bc9731b8394a1d2c9dba6cb50a3c (diff)
downloadpostgresql-853c1750f91feaa6a72b29ae683c955ab6f4df70.tar.gz
postgresql-853c1750f91feaa6a72b29ae683c955ab6f4df70.zip
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.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions