From fbf99d2f16a82f13564bbd21689d018ecc72de01 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 8 Nov 2011 09:40:37 +0200 Subject: [PATCH] Adjust range type docs for some last-minute changes I made to the patch. non_empty(anyrange) function was removed, empty(anyrange) was renamed to isempty(anyrange), and !? operators were removed. --- doc/src/sgml/func.sgml | 33 +++------------------------------ doc/src/sgml/rangetypes.sgml | 2 +- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f81bb9db97..7ecf751043 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10596,19 +10596,6 @@ SELECT NULLIF(value, '(none)') ... [10,15) - - !? - Is empty? - 'empty'::int4range !? - t - - - - ? - Is non-empty? - numrange(1.0,2.0)? - t - @@ -10637,10 +10624,7 @@ SELECT NULLIF(value, '(none)') ... upper - empty - - - non_empty + isempty lower_inc @@ -10693,25 +10677,14 @@ SELECT NULLIF(value, '(none)') ... - empty(anyrange) + isempty(anyrange) anyrange is the range empty? - empty(numrange(1.1,2.2)) + isempty(numrange(1.1,2.2)) false - - - - non_empty(anyrange) - - - anyrange - is the range non-empty? - non_empty(numrange(1.1,2.2)) - true - diff --git a/doc/src/sgml/rangetypes.sgml b/doc/src/sgml/rangetypes.sgml index fc5896d8f4..cf16f25de9 100644 --- a/doc/src/sgml/rangetypes.sgml +++ b/doc/src/sgml/rangetypes.sgml @@ -84,7 +84,7 @@ SELECT upper(int8range(15, 25)); SELECT int4range(10, 20) * int4range(15, 25); -- Is the range non-empty? -SELECT numrange(1, 5)? ; +SELECT isempty(numrange(1, 5)); -- 2.40.0