Re: Units in postgresql.conf

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Zdenek Kotala <Zdenek.Kotala@sun.com>
Cc: pgsql-hackers@postgresql.org
Date: 2006-07-20T16:51:19Z
Lists: 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/