Re: BUG #9001: Documentation bug

Поиск
Список
Период
Сортировка
От bricklen
Тема Re: BUG #9001: Documentation bug
Дата
Msg-id CAGrpgQ8=weF4nm76kdikPkR0n2X-91ov8xAUTmN8XUHJ_qEKkQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #9001: Documentation bug  (kai.peters@gmail.com)
Список 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.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #9003: Hard-coding to localhost in postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9003: Hard-coding to localhost in postmaster