pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #9001: Documentation bug
2+ messages / 2 participants
[nested] [flat]

* BUG #9001: Documentation bug
@ 2014-01-27 16:38 kai.peters@gmail.com
  2014-01-27 23:25 ` Re: BUG #9001: Documentation bug bricklen <bricklen@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: kai.peters@gmail.com @ 2014-01-27 16:38 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      9001
Logged by:          Kai
Email address:      kai.peters@gmail.com
PostgreSQL version: 9.3.2
Operating system:   Irrelevant
Description:        

http://www.postgresql.org/docs/9.3/static/rangetypes.html

8.17.2. Examples
CREATE TABLE reservation (room int, during tsrange);
INSERT INTO reservation VALUES
    (1108, '[2010-01-01 14:30, 2010-01-01 15:30)');

Bracket/paren mismatch in above INSERT statement


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #9001: Documentation bug
  2014-01-27 16:38 BUG #9001: Documentation bug kai.peters@gmail.com
@ 2014-01-27 23:25 ` bricklen <bricklen@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: bricklen @ 2014-01-27 23:25 UTC (permalink / raw)
  To: kai.peters@gmail.com; +Cc: pgsql-bugs

On Mon, Jan 27, 2014 at 8:38 AM, <kai.peters@gmail.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      9001
> Logged by:          Kai
> Email address:      kai.peters@gmail.com
> PostgreSQL version: 9.3.2
> Operating system:   Irrelevant
> Description:
>
> http://www.postgresql.org/docs/9.3/static/rangetypes.html
>
> 8.17.2. Examples
> CREATE TABLE reservation (room int, during tsrange);
> INSERT INTO reservation VALUES
>     (1108, '[2010-01-01 14:30, 2010-01-01 15:30)');
>
> Bracket/paren mismatch in above INSERT statement
>
>
You are referring to '[2010...)' ? No, that's by design. See the section
http://www.postgresql.org/docs/9.3/static/rangetypes.html#RANGETYPES-IO
Also, if you test the example you can see that it works as shown.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-01-27 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 16:38 BUG #9001: Documentation bug kai.peters@gmail.com
2014-01-27 23:25 ` bricklen <bricklen@gmail.com>

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