From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: check_locale() and the empty string |
Date: | 2012-03-12 16:54:41 |
Message-ID: | 1331571281.6425.47.camel@jdavis |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Sun, 2012-03-11 at 11:20 -0700, Jeff Davis wrote:
> The problem seems to be in check_locale(), which just checks for a
> non-NULL return value from setlocale(). However, the manual for
> setlocale() says:
>
> If locale is "", each part of the locale that should be modified
> is set according to the environment variables. The details
> are implementation-dependent.
Trivial patch attached.
Regards,
Jeff Davis
Attachment | Content-Type | Size |
---|---|---|
check_locale.patch | text/x-patch | 507 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Stefano Baccianella | 2012-03-12 17:38:08 | Re: BUG #6512: Bug with prepared statement and timestamp + interval |
Previous Message | Robert Haas | 2012-03-12 16:17:04 | Re: BUG #6512: Bug with prepared statement and timestamp + interval |