pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Page <dpage@pgadmin.org>
Cc: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Cc: Mike Toews <mwtoews@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: initdb.exe changes --locale option
Date: Fri, 14 Sep 2012 10:09:47 -0400
Message-ID: <12506.1347631787@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+OCxoztVL0ZLwis7vDbUWd+B9q14qhCPbbQZ7+jNGMRQwiJzA@mail.gmail.com>
References: <CAM2FmMoeykXx2-XqJTtEmTcW9y9MSecbUrdN+jy7vvg_MfdPcg@mail.gmail.com>
	<CAM2FmMpNgZMRaHyu42qRONQ6TSqQ9UZEoPBPiGbH5grzknnUNA@mail.gmail.com>
	<CAM2FmMrOjhyQBBF=kJLZ3JFagpUCf864EHYYpYk=ctXRG2TGVQ@mail.gmail.com>
	<CAM2FmMq=Nr7uHvP=wzq4bmxDHPPgpOnSR=QRx=5ZMC2Rfu5+1g@mail.gmail.com>
	<CA+OCxowETQkPTY5PD+JOWpOfm3C_sK3F1uqiTY6REPe5YL7sgg@mail.gmail.com>
	<CANFyU979L1cQfzXYzUmGS1fnxKwowQgHBYrHXh7E8t7tQpikeg@mail.gmail.com>
	<CA+OCxozDoA4Yt3Nv+wVEKs_FDzQJSz8zbMm7wnFkhh0NgETPzQ@mail.gmail.com>
	<CANFyU95uonewW83w7qG=1WRMMP7yHMPqwQKJAyZa0rNuhB1XWQ@mail.gmail.com>
	<CA+OCxoztVL0ZLwis7vDbUWd+B9q14qhCPbbQZ7+jNGMRQwiJzA@mail.gmail.com>

Dave Page <dpage@pgadmin.org> writes:
> On Fri, Sep 14, 2012 at 6:14 AM, Sandeep Thakkar
> <sandeep.thakkar@enterprisedb.com> wrote:
>> No.. what I mean to say is that the output from getlocales is same in 9.1
>> and 9.2.  (I checked the installation logs). It's initdb in 9.2 that is not
>> accepting the same output. So, it has nothing to with the VC++ runtimes.

> Ah, OK. Sorry - misunderstood what you were saying. I guess it could
> still be the runtimes, but affecting initdb, though a quick look at
> the initdb commit logs shows this
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a88b6e4cfbff9802906dd400ef334ffa49e7f2...,
> which I'd immediately suspect as at least part of the culprit, except
> that it was apparently backported to 9.1.

Actually, 9.2 intentionally tries to canonicalize locale names, see
commit c7cea267de3ca05b29a57b9d113b95ef3793c8d8.  Microsoft's support
of setlocale seems to be shoddy enough that it wouldn't be surprising
if there were some issue there.

			regards, tom lane




view thread (14+ messages)  latest in thread

Message-ID: <12506.1347631787@sss.pgh.pa.us>
Permalink:  ../12506.1347631787@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12506.1347631787@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dpage@pgadmin.org, sandeep.thakkar@enterprisedb.com, mwtoews@gmail.com
  Subject: Re: initdb.exe changes --locale option
  In-Reply-To: <12506.1347631787@sss.pgh.pa.us>
  References: <CAM2FmMoeykXx2-XqJTtEmTcW9y9MSecbUrdN+jy7vvg_MfdPcg@mail.gmail.com> <CAM2FmMpNgZMRaHyu42qRONQ6TSqQ9UZEoPBPiGbH5grzknnUNA@mail.gmail.com> <CAM2FmMrOjhyQBBF=kJLZ3JFagpUCf864EHYYpYk=ctXRG2TGVQ@mail.gmail.com> <CAM2FmMq=Nr7uHvP=wzq4bmxDHPPgpOnSR=QRx=5ZMC2Rfu5+1g@mail.gmail.com> <CA+OCxowETQkPTY5PD+JOWpOfm3C_sK3F1uqiTY6REPe5YL7sgg@mail.gmail.com> <CANFyU979L1cQfzXYzUmGS1fnxKwowQgHBYrHXh7E8t7tQpikeg@mail.gmail.com> <CA+OCxozDoA4Yt3Nv+wVEKs_FDzQJSz8zbMm7wnFkhh0NgETPzQ@mail.gmail.com> <CANFyU95uonewW83w7qG=1WRMMP7yHMPqwQKJAyZa0rNuhB1XWQ@mail.gmail.com> <CA+OCxoztVL0ZLwis7vDbUWd+B9q14qhCPbbQZ7+jNGMRQwiJzA@mail.gmail.com> <12506.1347631787@sss.pgh.pa.us>

* 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