Index on a Function

Поиск
Список
Период
Сортировка
От Nathan Barnett
Тема Index on a Function
Дата
Msg-id MHEJIGLIMNDMHOMFOJDEMEFLCCAA.natebiz@cfl.rr.com
обсуждение исходный текст
Список pgsql-general
I am trying to create an index on the result of a date_trunc('day',
columna).  When I try to create the index, I get a parse error near the '
before day.  I tried escaping the single quote by preceding it with a
backslash, but this gives an error saying that date_trunc(timestamp) doesn't
exist. Is there a work around to get this index created?  I'm using version
7.0.3 on FreeBSD 4.2-RELEASE.

--Nathan Barnett


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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Help with SQL Function
Следующее
От: gravity@node10065.a2000.nl
Дата:
Сообщение: Re: PHP and PostgreSQL