git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 851c83f) | patch
Return NULL instead of throwing error when desired bound is not available.
2011年11月14日 20:34:39 +0000 (15:34 -0500)
2011年11月14日 20:34:39 +0000 (15:34 -0500)
commit 4f9e33063cea270166fba12d89fe49876f814398
Return NULL instead of throwing error when desired bound is not available.

Change range_lower and range_upper to return NULL rather than throwing an
error when the input range is empty or the relevant bound is infinite. Per
discussion, throwing an error seems likely to be unduly hard to work with.
Also, this is more consistent with the behavior of the constructors, which
treat NULL as meaning an infinite bound.
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/utils/adt/rangetypes.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /