Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Eugen Konkov <kes-kes(at)yandex(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Why 'infinity' is not in range '[2019-01-02, infinity]'?
Date: 2019-11-06 13:33:28
Message-ID: 20191106133328.GA1843@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Nov 6, 2019 at 12:15:17PM +0200, Eugen Konkov wrote:
> ! Specifying a missing bound as exclusive is automatically converted
> ! to inclusive, e.g., <literal>[,]</literal> is automatically converted
> ! to <literal>(,)</literal>
>
> Misspell?
>
> You say:
> exclusive is automatically converted to inclusive
> But then:
> [,] is automatically converted to (,)
>
> which one is correct?

My mistake. Thanks for finding that. Updated patch attached, plus I
improved the second paragraph.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

Attachment Content-Type Size
range.diff text/x-diff 3.0 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2019-11-06 14:12:17 Re: Adding a Column documentation is misleading
Previous Message Alvaro Herrera 2019-11-06 13:13:30 Re: Adding a Column documentation is misleading