Create index ... On ... (lower(field1), lower(field2)) doesn't work?

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Create index ... On ... (lower(field1), lower(field2)) doesn't work?
Дата
Msg-id 008c01c23e6d$4cc0b410$0b01a8c0@johnpark.net
обсуждение исходный текст
Ответы Re: Create index ... On ... (lower(field1), lower(field2)) doesn't work?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Creating indexes on multiple function-modified fields is illegal...
Parser bug?
Example:

testdb=# create index idx_test on test (lower(field1), lower(field2));
ERROR:  parser: parse error at or near ","

Any way around this?

 --
Glen Parker
glenebob@nwlink.com



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

Предыдущее
От: Jean-Christian Imbeault
Дата:
Сообщение: SQL statement to set next serial value to max of a table?
Следующее
От: "Glen Parker"
Дата:
Сообщение: Create index ... On ... (lower(field1), lower(field2)) doesn't work?