Re: Defaults for GUC variables (was Re: [HACKERS] pg_ctl reports succes when start fails)

2003-10-28 Thread Manfred Koizar
On Mon, 27 Oct 2003 10:22:32 -0500, Tom Lane [EMAIL PROTECTED]
wrote:
The low-tech solution to this would be to stop listing the default
values as commented-out entries, but just make them ordinary uncommented
entries.

Please not.  How should we ask a newbie seeking assistance on one of
the support lists to show his non-default config settings?

Servus
 Manfred

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: Defaults for GUC variables (was Re: [HACKERS] pg_ctl reports

2003-10-27 Thread Michael Brusser
 Christopher Kings-Lynne [EMAIL PROTECTED] writes:
  Shouldn't it revert to the default value?
 
 No, not unless you think the postmaster should react to comments in the
 postgresql.conf file, which is rather against my idea of a comment.
 
 However, you're not the first to get burnt by this mis-assumption,
 so maybe we should do something about it.
 
 The low-tech solution to this would be to stop listing the default
 values as commented-out entries, but just make them ordinary uncommented
 entries.  That way people who think undoing my edit will revert the
 change would be right.
 
 Or we could try to make it actually work the way you seem to be
 expecting.  The only implementation I can think of is to reset GUC
 variables to defaults just before scanning the .conf file ...
--

I have to say we never had any problems or misconception with 
how it currently works, but if this has to be changed I'd rather
vote for the low-tech solution.

Mike.



---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: Defaults for GUC variables (was Re: [HACKERS] pg_ctl reports

2003-10-27 Thread Christopher Kings-Lynne
However, you're not the first to get burnt by this mis-assumption,
so maybe we should do something about it.
The low-tech solution to this would be to stop listing the default
values as commented-out entries, but just make them ordinary uncommented
entries.  That way people who think undoing my edit will revert the
change would be right.
I would be in favour of that way of doing things.  I have always found 
it weird that defaults were commented out...

Chris



---(end of broadcast)---
TIP 8: explain analyze is your friend