Re: Range Types - typo + NULL string constructor
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org, Erik Rijkers <er@xs4all.nl>
Date: 2011-09-19T16:48:42Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Replace the "New Linear" GiST split algorithm for boxes and points with a
- 7f3bd86843e5 9.2.0 cited
On Mon, 2011-09-19 at 11:00 -0500, Kevin Grittner wrote: > On a practical level, our shop is already effectively doing this. > We have several tables where part of the primary key is "effective > date" and there is a null capable "expiration date" -- with a NULL > meaning that no expiration date has been set. It would be nice to > be able to have a "generated column" function which used these two > dates to build a range for exclusion constraints and such. Agreed, that's a good convenience argument for accepting NULL boundaries in the constructors. Underneath though, we don't use NULL semantics (because they don't make sense for ranges -- in fact, avoiding the need to constantly special-case NULLs is one of the reasons to use range types). So, we want to avoid confusion where possible. Regards, Jeff Davis