Re: BUG #1466: #maintenace_work_mem = 16384

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: BUG #1466: #maintenace_work_mem = 16384
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE47685C@algol.sollentuna.se
обсуждение исходный текст
Ответ на BUG #1466: #maintenace_work_mem = 16384  ("Joe Brown" <joebrown@rclooke.com>)
Ответы Re: BUG #1466: #maintenace_work_mem = 16384  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> > On another note, is it really good for guc to be calling ereport()=20
> > before it has loaded the config options for ereport,
>=20
> We don't have much choice.  This is why the power-up defaults=20
> have to be at least somewhat sane for the platform.

It could use write_stderr() if it fails the first time it loads the
config file, perhaps? But that may be far from a nice solution,
certainly.

The problem with changing the default from stderr to eventlog is that it
will send the messages to the eventlog even if running from the console,
which is not good.

Can defaults be set to the result of a function? If so we could use the
service checking function to change the default value,perhaps?

//Magnus

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1466: #maintenace_work_mem = 16384
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1466: #maintenace_work_mem = 16384