Re: proposal: rounding up time value less than its unit. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: proposal: rounding up time value less than its unit.
Date
Msg-id 20140926200948.GF5311@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: proposal: rounding up time value less than its unit.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: proposal: rounding up time value less than its unit.
List pgsql-hackers
Tom Lane wrote:

> The impression I had was that Stephen was thinking of actually setting
> min_val to 1 (or whatever) and handling zero or -1 in some out-of-band
> fashion, perhaps by adding GUC flag bits showing those as allowable
> special cases.  I'm not sure how we would display such a state of affairs
> in pg_settings, but other than that it doesn't sound implausible.

I would think that if we're going to have "out of band" values, we
should just use "off", not 0 or -1.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: jsonb generator functions
Next
From: David Johnston
Date:
Subject: Re: proposal: rounding up time value less than its unit.