Re: Units in postgresql.conf -- How to report?

From: David Fetter <david(at)fetter(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Units in postgresql.conf -- How to report?
Date: 2006-07-25 01:06:28
Message-ID: 20060725010628.GB30350@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter

Remember to vote!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-07-25 01:45:27 Re: RESET CONNECTION?
Previous Message Bruce Momjian 2006-07-25 01:04:28 Re: On-disk bitmap index patch