BUG #8211: Syntax error when creating index on expression

Поиск
Список
Период
Сортировка
От acizov@gmail.com
Тема BUG #8211: Syntax error when creating index on expression
Дата
Msg-id E1UkFZc-0001It-KC@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #8211: Syntax error when creating index on expression  (bricklen <bricklen@gmail.com>)
Re: BUG #8211: Syntax error when creating index on expression  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8211
Logged by:          Andrey Cizov
Email address:      acizov@gmail.com
PostgreSQL version: 9.2.3
Operating system:   Windows
Description:        =


CREATE INDEX heuristic ON foos (1 / (a + b))

causes: =


ERROR:  syntax error at or near "1"
LINE 1: CREATE INDEX heuristic ON foos (1 / (a + b))
                                        ^

********** Error **********

ERROR: syntax error at or near "1"
SQL state: 42601
Character: 33

While:

CREATE INDEX heuristic ON foos ((1 / (a + b)))

Execution successful

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

Предыдущее
От: martin.schaefer@cadcorp.com
Дата:
Сообщение: BUG #8210: UTF8 column names corrupted by server
Следующее
От: bricklen
Дата:
Сообщение: Re: BUG #8211: Syntax error when creating index on expression