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

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Peter Eisentraut *EXTERN*" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Units in postgresql.conf -- How to report?
Date: 2006-07-25 06:48:34
Message-ID: 52EF20B2E3209443BC37736D00C3C138099D8BA6@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

4. would be the best option for human readers, but it would be a pain
for
a script that parses command output.

Maybe 3. would be a good compromise.

Yours,
Laurenz Albe

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jkzhao 2006-07-25 07:13:01 column-level privilege
Previous Message Michael Fuhr 2006-07-25 06:40:42 Re: pgsql: Remove hard-wired lists of timezone abbreviations in favor of