Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384 - Mailing list pgsql-patches

From Tom Lane
Subject Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384
Date
Msg-id 477.1108317855@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> What do you think of the following as a fix?

I dislike going through write_stderr because it requires an extra,
useless gettext() call, and because in the Windows case it imposes
an arbitrary length limit that is certain to be exceeded.  The length
limit is probably OK for the existing limited usages of write_stderr,
but you can't assume that every log message the system ever prints
is going to be under 2K.

The proposed test on Redirect_stderr looks pretty fishy too; for one
thing it will almost certainly not be the right thing inside the stderr
logger subprocess itself.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384
Next
From: "Magnus Hagander"
Date:
Subject: Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384