[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    [GENERAL] Values larger than 1/3 of a buffer page cannot be indexed (hstore)
From:       Stefan Keller <sfkeller () gmail ! com>
Date:       2011-04-30 23:34:33
Message-ID: BANLkTi==EfQvKe66u2PR8wkMCfumJGYMUw () mail ! gmail ! com
[Download RAW message or body]

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.

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

Configure | About | News | Add a list | Sponsored by KoreLogic