Re: Units in postgresql.conf -- How to report? - Mailing list pgsql-hackers

From David Fetter
Subject Re: Units in postgresql.conf -- How to report?
Date
Msg-id 20060725010628.GB30350@fetter.org
Whole thread Raw
In response to Units in postgresql.conf -- How to report?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, Jul 24, 2006 at 11:13:53PM +0200, Peter Eisentraut wrote:
> So assuming we allowed units in postgresql.conf, how would you report 
> them with SHOW?
> 
> 1. The way they were set (hard)
> 
> 2. Without units (not user-friendly)
> 
> 3. Always in base units (seconds or bytes)
> 
> 4. The largest unit that gives an integer
> 
> (4) seems the most reasonable to me in terms of interface and 
> implementation.

I'm for (4), as it's also what people are used to from things like
GNU's -h option.

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: On-disk bitmap index patch
Next
From: Bruce Momjian
Date:
Subject: Re: RESET CONNECTION?