RES: Does postgresql 9.0.4 use index on PREFIX%SUFFIX queries?

Поиск
Список
Период
Сортировка
От Edson Carlos Ericksson Richter
Тема RES: Does postgresql 9.0.4 use index on PREFIX%SUFFIX queries?
Дата
Msg-id 009a01cc7c6d$05d89020$1189b060$@com.br
обсуждение исходный текст
Ответ на Re: Does postgresql 9.0.4 use index on PREFIX%SUFFIX queries?  (Alban Hertroys <haramrae@gmail.com>)
Список pgsql-general
Because the error message saying so (I do use pgAdmin III):

"An error has occurred:

ERROR: the datatype character varying has no standard operator class for
"gist" access method
HINT: You should specify na operator class for the index or define one
standard operator class for the data type."

(I've translated the above message from portuguese to english, sorry if it's
not exact).

That's why I can't use GIST.

Thanks,

Edson.


-----Mensagem original-----
De: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] Em nome de Alban Hertroys
Enviada em: segunda-feira, 26 de setembro de 2011 12:37
Para: Edson Carlos Ericksson Richter
Cc: pgsql-general@postgresql.org
Assunto: Re: [GENERAL] Does postgresql 9.0.4 use index on PREFIX%SUFFIX
queries?

On 26 September 2011 17:15, Edson Carlos Ericksson Richter
<richter@simkorp.com.br> wrote:
> Just discovered, I can't use GIST over character varying...

Why do you think that?

--
If you can't see the forest for the trees, Cut the trees and you'll see
there is no forest.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make
changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Вложения

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

Предыдущее
От: hamann.w@t-online.de
Дата:
Сообщение: Re: looking for a faster way to do that
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: "all" not inclusive of "replication" in pg_hba.conf