Re: BUG #7493: Postmaster messages unreadable in a Windows console

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7493: Postmaster messages unreadable in a Windows console
Дата
Msg-id 5238.1360635332@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7493: Postmaster messages unreadable in a Windows console  (Noah Misch <noah@leadboat.com>)
Список pgsql-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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: BUG #7493: Postmaster messages unreadable in a Windows console
Следующее
От: Greg Stark
Дата:
Сообщение: Re: BUG #7493: Postmaster messages unreadable in a Windows console