Skip site navigation (1) Skip section navigation (2)

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

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. Inpar
Date: 2011-04-20 07:07:53
Message-ID: E1QCRVx-0002pA-3B@gemulon.postgresql.org (view raw or flat)
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2b919118c2511c7741c21f325d2ca4f270aa3aba

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group