From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Alexander Law <exclusion@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Andrew Dunstan <andrew@dunslane.net>
Subject: Re: BUG #7493: Postmaster messages unreadable in a Windows console
Date: Mon, 11 Feb 2013 21:15:32 -0500
Message-ID: <5238.1360635332@sss.pgh.pa.us> (raw)
In-Reply-To: <20130212021045.GA7600@tornado.leadboat.com>
References: <5100F3F6.3050107@2ndQuadrant.com>
<51013C2C.5020703@dunslane.net>
<20130124161954.GA2448@tornado.leadboat.com>
<5101A1C4.3020407@dunslane.net>
<5107656C.1050400@gmail.com>
<28316.1359471244@sss.pgh.pa.us>
<20130130015155.GD3524@tornado.leadboat.com>
<5108B6E1.9070503@gmail.com>
<20130210210259.GA7401@tornado.leadboat.com>
<16160.1360540050@sss.pgh.pa.us>
<20130212021045.GA7600@tornado.leadboat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Noah Misch <noah@leadboat.com> writes:
> On Sun, Feb 10, 2013 at 06:47:30PM -0500, Tom Lane wrote:
>> The key problem, ISTM, is that it's not at all clear what encoding to
>> expect the incoming data to be in. I'm concerned about trying to fix
>> that by assuming it's in some "platform encoding" --- for one thing,
>> while that might be a well-defined concept on Windows, I don't believe
>> it is anywhere else.
> GetPlatformEncoding() imposes a sufficiently-portable definition. I just
> don't think that definition leads to a value that can be presumed desirable
> and adequate for postgresql.conf.
Nah, GetPlatformEncoding is utterly useless for this purpose --- restart
the server with some other environment, and bad things will happen.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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, noah@leadboat.com, exclusion@gmail.com, pgsql-hackers@postgresql.org, magnus@hagander.net, andrew@dunslane.net
Subject: Re: BUG #7493: Postmaster messages unreadable in a Windows console
In-Reply-To: <5238.1360635332@sss.pgh.pa.us>
References: <5100F3F6.3050107@2ndQuadrant.com> <51013C2C.5020703@dunslane.net> <20130124161954.GA2448@tornado.leadboat.com> <5101A1C4.3020407@dunslane.net> <5107656C.1050400@gmail.com> <28316.1359471244@sss.pgh.pa.us> <20130130015155.GD3524@tornado.leadboat.com> <5108B6E1.9070503@gmail.com> <20130210210259.GA7401@tornado.leadboat.com> <16160.1360540050@sss.pgh.pa.us> <20130212021045.GA7600@tornado.leadboat.com> <5238.1360635332@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