Re: Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Alon <asimantov(at)tableausoftware(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.
Date: 2014-09-22 16:10:45
Message-ID: 15763.1411402245@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> writes:
> I think we should map "Norwegian (Bokml)" to "norwegian-bokmal", so
> that the mapping is applied to the return value of setlocale(). So when
> initdb does setlocale(NULL, "") to get the locale, we'll return
> "norwegian-bokmal", and that gets stored in the catalogs and
> postgresql.conf.

That seems like a reasonable hack if there's only the one case ...
how sure are we about that?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2014-09-22 16:38:20 Re: [BUGS] Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.
Previous Message Heikki Linnakangas 2014-09-22 15:15:37 Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.