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

From Albe Laurenz
Subject Re: Units in postgresql.conf -- How to report?
Date
Msg-id 52EF20B2E3209443BC37736D00C3C138099D8BA6@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to Units in postgresql.conf -- How to report?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Units in postgresql.conf -- How to report?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List 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


pgsql-hackers by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: On-disk bitmap index patch
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Resurrecting per-page cleaner for btree