Values larger than 1/3 of a buffer page cannot be indexed (hstore)

Поиск
Список
Период
Сортировка
От Stefan Keller
Тема Values larger than 1/3 of a buffer page cannot be indexed (hstore)
Дата
Msg-id BANLkTi==EfQvKe66u2PR8wkMCfumJGYMUw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Values larger than 1/3 of a buffer page cannot be indexed (hstore)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

2011/3/13 Viktor Nagy <viktor.nagy@toolpart.hu>
> when trying to insert a long-long value, I get the following error:
>
> ERROR: Index row size 3120 exceeds maximum 2712 for index "ir_translation_ltns"
> HINT:  Values larger than 1/3 of a buffer page cannot be indexed.
> Consider a function index of an MD5 hash of the value, or use full text indexing.

I get the same error but I'm using a hstore attribute (called 'tags').

Unfortunately, the trick with the MD5 function index does not work neither:

CREATE INDEX planet_osm_point_tags
  ON planet_osm_point ((md5(tags)));
ERROR: Funktion md5(hstore) does not exist
SQL state: 42883

Any ideas on how to index my hstore attribute?

Yours, S.

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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: histogram
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: histogram