Re: Units in postgresql.conf

From: Joe Conway <mail(at)joeconway(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Units in postgresql.conf
Date: 2006-07-20 16:42:01
Message-ID: 44BFB259.2060203@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> One frequent source of confusion are the different units that the parameters
> in postgresql.conf use. shared_buffers is in 8 kB, work_mem is in 1 kB;
> bgwriter_delay is in milliseconds, checkpoint_warning is in seconds.
> Obviously, we can't change that without inconveniencing a lot of users.
>
> I think it would be useful to allow units to be added to these settings, for
> example

<snip>
>
> I haven't thought yet how to parse or implement this, but would people find
> this useful?

+1

I'd find this useful myself, and I think it would eliminate many
mistakes by newer admins.

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2006-07-20 16:49:39 Re: Units in postgresql.conf
Previous Message Tom Lane 2006-07-20 16:25:30 pgsql: As a stopgap to get the Windows buildfarm members running again,