Re: 8.4.0 vs. locales vs. pl/perl?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.4.0 vs. locales vs. pl/perl?
Date: 2009-07-08 17:31:19
Message-ID: 24078.1247074279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> Looking at the code, the obvious thing that glares out is that the
> locale setup in CheckMyDatabase is calling setlocale rather than
> pg_perm_setlocale... am I missing something, or is this an obvious
> bug?

Sigh, it's an obvious bug. Whoever copied xlog.c's "pg_perm_setlocale"
calls as "setlocale" needs to get out the sackcloth and ashes.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-07-08 17:37:07 Re: 8.4.0 vs. locales vs. pl/perl?
Previous Message Chris Browne 2009-07-08 16:59:46 Re: [pgsql-www] commitfest.postgresql.org