Re: Creating an index on PostgreSQL 7.4.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Creating an index on PostgreSQL 7.4.3
Дата
Msg-id 12667.1144264472@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Creating an index on PostgreSQL 7.4.3  ("Ardian Xharra \(Boxxo\)" <axharra@boxxo.info>)
Список pgsql-general
"Ardian Xharra \(Boxxo\)" <axharra@boxxo.info> writes:
> No, it doesn't work always the same message:
> ERROR:  parser: parse error at or near "(" at character 47

In that case you're not really talking to a 7.4 server, but something
older --- either syntax works OK for me on 7.4.

regression=# create table client(name text);
CREATE TABLE
regression=# CREATE INDEX client__ascname__idx  ON client (TO_ASCII(lower(name),'LATIN 1'));
CREATE INDEX
regression=# select version();
                            version
----------------------------------------------------------------
 PostgreSQL 7.4.12 on hppa-hp-hpux10.20, compiled by GCC 2.95.3
(1 row)

            regards, tom lane

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

Предыдущее
От: "Ardian Xharra \(Boxxo\)"
Дата:
Сообщение: Re: Creating an index on PostgreSQL 7.4.3
Следующее
От: "Ardian Xharra \(Boxxo\)"
Дата:
Сообщение: Re: Creating an index on PostgreSQL 7.4.3