From: Tom Lane <tgl@sss.pgh.pa.us>
To: mishchenkoa@google.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Missing closing ]
Date: Wed, 04 Oct 2023 12:26:46 -0400
Message-ID: <2599189.1696436806@sss.pgh.pa.us> (raw)
In-Reply-To: <169643073223.656.14171363764779631925@wrigleys.postgresql.org>
References: <169643073223.656.14171363764779631925@wrigleys.postgresql.org>
PG Doc comments form <noreply@postgresql.org> writes:
> In the example session at
> https://www.postgresql.org/docs/current/rangetypes.html#RANGETYPES-EXAMPLES
> there are missing closing square bracket ]
> Take a look below
> CREATE TABLE reservation (room int, during tsrange);
> INSERT INTO reservation VALUES
> (1108, '[2010-01-01 14:30, 2010-01-01 15:30)');
> there should be ] after 15:30
No, it looks correct as given: that end of the range is open not closed.
regards, tom lane
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: tgl@sss.pgh.pa.us, mishchenkoa@google.com, pgsql-docs@lists.postgresql.org
Subject: Re: Missing closing ]
In-Reply-To: <2599189.1696436806@sss.pgh.pa.us>
* 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