Re: Index on computed column

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: Index on computed column
Дата
Msg-id
Pine.BSO.4.56.0404261344520.6373@leary.csoft.net
Ответ на
Index on computed column (han.holl@pobox.com (Han Holl))
Список
Дерево обсуждения
Index on computed column han.holl@pobox.com (Han Holl)
Re: Index on computed column Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Index on computed column Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Index on computed column Kris Jurka <books@ejurka.com>

On Tue, 20 Apr 2004, Han Holl wrote:

> palga=> create index nm_idx on main (rubriek(rapport, lseek, 'naamvrouw',0));
> ERROR:  parser: parse error at or near "'naamvrouw'" at character 54
> palga=>
> 
> This is postgresql-7.3.4-3.rhl9.
> 

You cannot create functional indexes with a constant in the 7.3 series.  
This capability was only added in the 7.4 series.  You can work around 
this problem by creating a wrapper function that calls the real function 
with the constants and creating the index on the wrapper function.

Kris Jurka
В списке pgsql-general по дате отправления
От: David Garamond
Дата:
От: Bruno Wolff III
Дата:
FAQ