Re: Units in postgresql.conf

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Units in postgresql.conf
Date: 2006-07-20 16:51:19
Message-ID: 200607201851.19521.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-07-20 16:53:20 Re: Units in postgresql.conf
Previous Message Peter Eisentraut 2006-07-20 16:49:39 Re: Units in postgresql.conf