Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384
Дата
Msg-id 477.1108317855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384  ("Magnus Hagander" <mha@sollentuna.net>)
Список 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 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [BUGS] BUG #1466: #maintenace_work_mem = 16384