Tom Lane wrote:
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
> > Is it intentional that effective_cache_size is a real (as opposed
> > to integer)?
> Yes --- the planner generally does all that stuff in float arithmetic
> to avoid worrying about overflow.

Point taken, but I'm inclined to convert it to an integer anyway, 
because that will make the units support much easier.  The variable is 
only used in exactly one place anyway, so making sure the calculation 
works right should be easy.

Peter Eisentraut

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to