pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: kes-kes@yandex.ru
Subject: Improve examples for range operators
Date: Wed, 20 Feb 2019 12:27:26 +0000
Message-ID: <155066564653.1372.8375190273475381681@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/functions-range.html
Description:

Hi.

It would be nice if next examples:

<< 	strictly left of 	int8range(1,10) << int8range(100,110) 	t
>> 	strictly right of 	int8range(50,60) >> int8range(20,30) 	t
&< 	does not extend to the right of 	int8range(1,20) &< int8range(18,20)
	t
&> 	does not extend to the left of 	int8range(7,20) &> int8range(5,10) 	t

are extended by:
**not** strictly left of, **not** strictly right of, **extends** to the
right of, **extends** to the left of

Because without manual experiments I can not imagine the ranges that cause
'false' result for the examples above.

Thank you.


view thread (2+ messages)  latest in thread

Message-ID: <155066564653.1372.8375190273475381681@wrigleys.postgresql.org>
Permalink:  ../155066564653.1372.8375190273475381681@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/155066564653.1372.8375190273475381681@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, kes-kes@yandex.ru
  Subject: Re: Improve examples for range operators
  In-Reply-To: <155066564653.1372.8375190273475381681@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox