Re: Units in postgresql.conf - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Units in postgresql.conf
Date
Msg-id 200607201851.19521.peter_e@gmx.net
Whole thread Raw
In response to Re: Units in postgresql.conf  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Units in postgresql.conf  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Re: Units in postgresql.conf  (korry <korryd@enterprisedb.com>)
List pgsql-hackers
Zdenek Kotala wrote:
> Time units is easy:
> 1h = 60min = 3600s = 3600000ms

We don't need anything larger than seconds at the moment.

> What kind of unit prefix will we use for memory?

PostgreSQL has always used 1 kB = 1024 B.

> 1) will be unit required?

No.

> What will be default unit for value without 
> unit?

What we have now.

> I suggest mandatory unit avoid the problem with unclear default
> value.

Not going to happen.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Units in postgresql.conf
Next
From: Zdenek Kotala
Date:
Subject: Re: Units in postgresql.conf