]> granicus.if.org Git - postgresql/commit
Quotes in strings injected into bki file need to escaped. In particular,
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Apr 2011 06:49:44 +0000 (09:49 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Apr 2011 06:59:33 +0000 (09:59 +0300)
commita58396d79e6519afd53914ff762a84097b45020d
treef0508a4b8820ad6250b53fb3037bf78924169665
parent5a4305fdf7ecf8218051f4f2a151d57fa71b9e6b
Quotes in strings injected into bki file need to escaped. In particular,
"People's Republic of China" locale on Windows was causing initdb to fail.

This fixes bug #5818 reported by yulei. On master, this makes the mapping
of "People's Republic of China" to just "China" obsolete. In 9.0 and 8.4,
just fix the escaping. Earlier versions didn't have locale names in bki
file.
src/bin/initdb/initdb.c