Re: WIP: Range Types - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: WIP: Range Types
Date
Msg-id 1294520755.18031.3566.camel@jdavis
Whole thread Raw
In response to Re: WIP: Range Types  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: WIP: Range Types  (Jeff Davis <pgsql@j-davis.com>)
Re: WIP: Range Types  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sat, 2011-01-08 at 15:47 -0500, Robert Haas wrote:
> On Sat, Jan 8, 2011 at 3:12 PM, Jeff Davis <pgsql@j-davis.com> wrote:
> > Any ideas? Maybe, with alignment and a "flags" byte (to hold
> > inclusivity, infinite boundaries, etc.), the extra 4 bytes doesn't cost
> > much, anyway?
> 
> I'd be really reluctant to bloat the range representation by 4 bytes
> to support an anyrange type.  Better to defer this until the great day
> when we get a better typmod system, at least IMHO.

Can you elaborate? How can we have generic functions without ANYRANGE?

And without generic functions, how do we make it easy for users to
specify a new range type?

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: Range Types
Next
From: "Kevin Grittner"
Date:
Subject: SSI patch(es)