From:
Noah Misch <noah(at)leadboat(dot)com>
To:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc:
Alexander Law <exclusion(at)gmail(dot)com>,pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>,Magnus Hagander <magnus(at)hagander(dot)net>,Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject:
Re: BUG #7493: Postmaster messages unreadable in a Windows console
Date:
2013-01-30 01:51:55
Message-ID:
20130130015155.GD3524@tornado.leadboat.com (view raw or flat )
Thread:
2012-03-03 18:44:37 from exclusion(at)gmail(dot)com
2012-03-16 19:13:41 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2012-03-18 09:04:51 from Alexander LAW <exclusion(at)gmail(dot)com>
2012-03-19 20:05:33 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2012-03-20 19:50:14 from Alexander LAW <exclusion(at)gmail(dot)com>
2012-03-23 15:32:22 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2012-10-10 11:05:55 from Noah Misch <noah(at)leadboat(dot)com>
2012-10-14 06:35:04 from Alexander Law <exclusion(at)gmail(dot)com>
2012-10-14 16:10:42 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-10-15 09:48:18 from Noah Misch <noah(at)leadboat(dot)com>
2012-10-15 09:41:36 from Noah Misch <noah(at)leadboat(dot)com>
2012-10-15 23:38:17 from Noah Misch <noah(at)leadboat(dot)com>
2012-10-18 15:46:50 from Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
2013-01-23 17:06:01 from Alexander Law <exclusion(at)gmail(dot)com>
2013-01-23 17:34:38 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-23 18:08:41 from Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
2013-01-23 18:19:33 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-24 07:45:36 from Craig Ringer <craig(at)2ndQuadrant(dot)com>
2013-01-24 11:57:18 from Noah Misch <noah(at)leadboat(dot)com>
2013-01-24 12:11:16 from Craig Ringer <craig(at)2ndQuadrant(dot)com>
2013-01-24 08:42:30 from Craig Ringer <craig(at)2ndQuadrant(dot)com>
2013-01-24 13:50:36 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-24 16:19:54 from Noah Misch <noah(at)leadboat(dot)com>
2013-01-24 21:04:04 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-25 15:26:10 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-25 15:39:45 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-29 06:00:12 from Alexander Law <exclusion(at)gmail(dot)com>
2013-01-29 14:54:04 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-30 01:51:55 from Noah Misch <noah(at)leadboat(dot)com>
2013-01-30 06:00:01 from Alexander Law <exclusion(at)gmail(dot)com>
2013-02-10 21:02:59 from Noah Misch <noah(at)leadboat(dot)com>
2013-02-10 23:47:30 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-02-12 02:10:45 from Noah Misch <noah(at)leadboat(dot)com>
2013-02-12 02:15:32 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-02-12 03:22:17 from Greg Stark <stark(at)mit(dot)edu>
2013-02-14 02:40:20 from Noah Misch <noah(at)leadboat(dot)com>
2013-02-14 16:45:53 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-02-14 16:57:01 from Craig Ringer <craig(at)2ndquadrant(dot)com>
2013-02-14 07:11:13 from Alexander Law <exclusion(at)gmail(dot)com>
2013-02-14 22:59:57 from Noah Misch <noah(at)leadboat(dot)com>
2013-02-20 12:00:00 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-18 08:51:34 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-18 15:05:07 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-18 15:16:16 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-18 23:16:26 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 01:42:45 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-07-19 01:57:27 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 06:37:49 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 07:24:26 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 08:21:45 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 08:28:05 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 08:40:34 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 08:54:36 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 09:33:01 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 08:58:42 from Alban Hertroys <haramrae(at)gmail(dot)com>
2012-07-19 09:01:49 from Alban Hertroys <haramrae(at)gmail(dot)com>
2012-07-19 11:50:44 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 12:16:10 from Alban Hertroys <haramrae(at)gmail(dot)com>
2012-07-19 12:37:50 from Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
2012-07-19 12:31:46 from Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
2012-07-19 04:22:46 from Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
2012-07-19 07:23:39 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-19 07:49:51 from Tatsuo Ishii <ishii(at)postgresql(dot)org>
2012-07-19 08:12:17 from Alexander Law <exclusion(at)gmail(dot)com>
2012-07-25 11:54:23 from Alexander Law <exclusion(at)gmail(dot)com>
2012-08-07 17:24:01 from Robert Haas <robertmhaas(at)gmail(dot)com>
Lists:
pgsql-bugs pgsql-general pgsql-hackers
On Tue, Jan 29, 2013 at 09:54:04AM -0500, Tom Lane wrote:
> Alexander Law <exclusion(at)gmail(dot)com> writes:
> > Please look at the following l10n bug:
> > http://www.postgresql.org/message-id/502A26F1.6010109@gmail.com
> > and the proposed patch.
>
> That patch looks entirely unsafe to me. Neither of those functions
> should be expected to be able to run when none of our standard
> infrastructure (palloc, elog) is up yet.
>
> Possibly it would be safe to do this somewhere around where we do
> GUC initialization.
Even then, I wouldn't be surprised to find problematic consequences beyond
error display. What if all the databases are EUC_JP, the platform encoding is
KOI8, and some postgresql.conf settings contain EUC_JP characters? Does the
postmaster not rely on its use of SQL_ASCII to allow those values?
I would look at fixing this by making the error output machinery smarter in
this area before changing the postmaster's notion of server_encoding.
In response to
Responses
pgsql-hackers by date
Next :From: Noah MischDate: 2013-01-30 02:04:56
Subject : Re: lazy_vacuum_heap()'s removal of HEAPTUPLE_DEAD tuples
Previous :From : Noah MischDate : 2013-01-30 01:34:24
Subject : Re: COPY FREEZE has no warning
pgsql-bugs by date
Next :From: Alexander LawDate: 2013-01-30 06:00:01
Subject : Re: BUG #7493: Postmaster messages unreadable in a Windows console
Previous :From : jan.mateDate : 2013-01-29 23:50:14
Subject : BUG #7838: pg_dump major bug
pgsql-general by date
Next :From: Tim UckunDate: 2013-01-30 02:58:54
Subject : Dropping default privileges.
Previous :From : Kevin GrittnerDate : 2013-01-29 23:09:26
Subject : Re: Optimizing select count query which often takes over 10 seconds