pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Alon <asimantov@tableausoftware.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.
Date: Mon, 22 Sep 2014 12:10:45 -0400
Message-ID: <15763.1411402245@sss.pgh.pa.us> (raw)
In-Reply-To: <54203D19.5020202@vmware.com>
References: <20140915230427.2486.29437@wrigleys.postgresql.org>
	<1411164953375-5819745.post@n5.nabble.com>
	<20140921051846.GA1565935@tornado.leadboat.com>
	<7107.1411316005@sss.pgh.pa.us>
	<20140921180413.GA1585212@tornado.leadboat.com>
	<54203D19.5020202@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> I think we should map "Norwegian (Bokmål)" 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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <15763.1411402245@sss.pgh.pa.us>
Permalink:  ../15763.1411402245@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15763.1411402245@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, hlinnakangas@vmware.com, noah@leadboat.com, asimantov@tableausoftware.com
  Subject: Re: [BUGS] Re: BUG #11431: Failing to backup and restore a Windows postgres database, with Norwegian Bokmål locale.
  In-Reply-To: <15763.1411402245@sss.pgh.pa.us>
  References: <20140915230427.2486.29437@wrigleys.postgresql.org> <1411164953375-5819745.post@n5.nabble.com> <20140921051846.GA1565935@tornado.leadboat.com> <7107.1411316005@sss.pgh.pa.us> <20140921180413.GA1585212@tornado.leadboat.com> <54203D19.5020202@vmware.com> <15763.1411402245@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