Still more review for range-types patch.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 766948beddef66dd89563f465919eca6e131861c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-11-22T21:06:26Z
Releases: 9.2.0
Still more review for range-types patch.

Per discussion, relax the range input/construction rules so that the
only hard error is lower bound > upper bound.  Cases where the lower
bound is <= upper bound, but the range nonetheless normalizes to empty,
are now permitted.

Fix core dump in range_adjacent when bounds are infinite.  Marginal
cleanup of regression test cases, some more code commenting.

Files