pgsql: Quotes in strings injected into bki file need to escaped. In par

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Quotes in strings injected into bki file need to escaped. In par
Date: 2011-04-20 07:07:53
Message-ID: E1QCRVx-0002pE-3J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a58396d79e6519afd53914ff762a84097b45020d

Modified Files
--------------
src/bin/initdb/initdb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-04-20 09:45:30 pgsql: Pg_upgrade C comment addition.
Previous Message Heikki Linnakangas 2011-04-20 06:30:24 Re: Re: [COMMITTERS] pgsql: setlocale() on Windows doesn't work correctly if the locale name