Re: GUC with units, details - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: GUC with units, details
Date
Msg-id 200607271032.23816.peter_e@gmx.net
Whole thread Raw
In response to Re: GUC with units, details  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GUC with units, details  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> It is.  For instance shared_buffers is configured as the number of
> buffers.  What we're talking about here is ways to specify the
> intended usage with other units (eg "I want N megabytes of shared
> buffers") but that's not going to magically let you allocate half a
> shared buffer. Peter's not said exactly how he plans to deal with
> this, but I suppose it'll round off one way or the other ...

It'll get truncated by integer division.  I wouldn't mind if someone 
proposed a patch to create a warning or error in this case, but I 
wanted to keep the initial version simple.

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


pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: GUC with units, details
Next
From: Peter Eisentraut
Date:
Subject: Re: GUC with units, details