Re: Cause of intermittent rangetypes regression test failures - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: Cause of intermittent rangetypes regression test failures
Date
Msg-id e1b5e16ececf727967d38842df0e011c.squirrel@webmail.xs4all.nl
Whole thread Raw
In response to Re: Cause of intermittent rangetypes regression test failures  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, November 14, 2011 19:43, Tom Lane wrote:
> Jeff Davis <pgsql@j-davis.com> writes:
>> On Mon, 2011-11-14 at 08:11 -0500, Tom Lane wrote:
>
> While thinking about this ... would it be sensible for range_lower and
> range_upper to return NULL instead of throwing an exception for empty or
> infinite ranges?  As with these comparison functions, throwing an error
> seems like a fairly unpleasant definition to work with in practice.
>

+1

much better, IMHO.


Erik Rijkers




pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: So where are we on the open commitfest?
Next
From: "Kevin Grittner"
Date:
Subject: Re: strict aliasing (was: const correctness)