Re: BUG #1466: #maintenace_work_mem = 16384

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Joe Brown" <joebrown(at)rclooke(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1466: #maintenace_work_mem = 16384
Date: 2005-02-11 15:09:24
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE47685C@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> > On another note, is it really good for guc to be calling ereport()
> > before it has loaded the config options for ereport,
>
> We don't have much choice. This is why the power-up defaults
> 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-02-11 15:31:59 Re: BUG #1466: #maintenace_work_mem = 16384
Previous Message Tom Lane 2005-02-11 15:07:04 Re: BUG #1466: #maintenace_work_mem = 16384