Re: BUG #1466: #maintenace_work_mem = 16384 - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #1466: #maintenace_work_mem = 16384
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE47685C@algol.sollentuna.se
Whole thread Raw
In response to BUG #1466: #maintenace_work_mem = 16384  ("Joe Brown" <joebrown@rclooke.com>)
Responses Re: BUG #1466: #maintenace_work_mem = 16384  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1466: #maintenace_work_mem = 16384
Next
From: Tom Lane
Date:
Subject: Re: BUG #1466: #maintenace_work_mem = 16384