Re: proposal: rounding up time value less than its unit.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Stark <stark(at)mit(dot)edu>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: rounding up time value less than its unit.
Date: 2014-08-26 20:59:11
Message-ID: 53FCF51F.9090405@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/26/14 4:22 PM, Andres Freund wrote:
> Is the whole topic actually practically relevant?

It's clearly not all that important, or otherwise we'd have heard about
before now.

I suppose someone could do something like

wal_receiver_status_interval = 10ms

and end up silently turning the whole thing off instead of making it
very aggressive.

The mistake here is that the mathematically appropriate turn-off value
in this and similar cases is infinity, not zero.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-08-26 21:03:12 Re: Missing comment block at the top of streamutil.h and receivelog.h
Previous Message Peter Eisentraut 2014-08-26 20:56:05 Re: proposal: rounding up time value less than its unit.