Re: BUG #3888: postmaster: misleading error message for illegal -B values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Marti Raudsepp" <marti(at)juffo(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3888: postmaster: misleading error message for illegal -B values
Date: 2008-01-20 18:35:49
Message-ID: 10474.1200854149@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> Marti Raudsepp wrote:
>> However, as of PostgreSQL 8.3, postmaster requires that the number of
>> buffers is at least (max_connections*2 + 6)

> Hmm. The minimum is actually (max_connections + max_autovacuum_workers)
> * 2. The default max_autovacuum_workers is 3, which is where that 6
> (2*3) comes from.

It's sort of irrelevant IMHO, as any useful setting is orders of
magnitude larger than that anyway. If we were to touch this code it
should be to increase the minimum setting, not to fine-tune the message
text ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-01-20 19:23:52 psql's \h listing of commands doesn't look nice anymore
Previous Message tomas 2008-01-20 16:48:14 Re: BUG #3887: pgAdmin hang when click on database