Values larger than 1/3 of a buffer page cannot be indexed (hstore) - Mailing list pgsql-general

From Stefan Keller
Subject Values larger than 1/3 of a buffer page cannot be indexed (hstore)
Date
Msg-id BANLkTi==EfQvKe66u2PR8wkMCfumJGYMUw@mail.gmail.com
Whole thread Raw
Responses Re: Values larger than 1/3 of a buffer page cannot be indexed (hstore)
List 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 by date:

Previous
From: "David Johnston"
Date:
Subject: Re: histogram
Next
From: Rob Sargent
Date:
Subject: Re: histogram