pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: heikki@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Need to use pg_perm_setlocale when setting LC_CTYPE and
Date: Wed,  8 Jul 2009 17:53:32 +0000 (UTC)
Message-ID: <20090708175332.AAC3375331E@cvs.postgresql.org> (raw)

Log Message:
-----------
Need to use pg_perm_setlocale when setting LC_CTYPE and LC_COLLATE at startup.
Otherwise, the LC_CTYPE/COLLATE setting gets reverted when using plperl, which
leads to incorrect query results and index corruption.

This was accidentally broken in the per-database locale patch in 8.4. Pointed
out by Andrew Gierth.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/init:
        postinit.c (r1.191 -> r1.191.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c?r1=1.191&r2=1.1...)




view thread (3+ messages)  latest in thread

Message-ID: <20090708175332.AAC3375331E@cvs.postgresql.org>
Permalink:  ../20090708175332.AAC3375331E@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090708175332.AAC3375331E@cvs.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki@postgresql.org
  Subject: Re: pgsql: Need to use pg_perm_setlocale when setting LC_CTYPE and
  In-Reply-To: <20090708175332.AAC3375331E@cvs.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox