Re: Maximum reasonable bgwriter_delay

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Maximum reasonable bgwriter_delay
Date: 2007-06-20 06:33:57
Message-ID: 8506.1182321237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Smith <gsmith(at)gregsmith(dot)com> writes:
> I can't think of any good reason why the bgwriter_delay can't be reduced
> to 1s if that simplifies things.

The simplification Heikki suggests would save a grand total of 9 lines
of C code, two of which are braces. Is it really worth it to make such
stringent assumptions about what the parameter is good for?

(Having a GUC parameter at all costs more lines than that, not even
counting its documentation.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2007-06-20 07:45:57 Re: PG-MQ?
Previous Message Greg Smith 2007-06-20 06:18:28 Re: Maximum reasonable bgwriter_delay