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

From Viktor Nagy
Subject Values larger than 1/3 of a buffer page cannot be indexed.
Date
Msg-id AANLkTin3p6VS1Z=TtqUV-5cG4TZpTjUMfuPNzWJFgnr5@mail.gmail.com
Whole thread Raw
Responses Re: Values larger than 1/3 of a buffer page cannot be indexed.  (Dmitriy Igrishin <dmitigr@gmail.com>)
List pgsql-general
hi,

when trying to insert a long-long value, I get the following 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.

is there a way to generate this recommended function index of an md5 hash on an already existing database and tables (filled with data)?

thanks,
Viktor

pgsql-general by date:

Previous
From: ray
Date:
Subject: Re: Ad hoc report writer
Next
From: Dmitriy Igrishin
Date:
Subject: Re: Values larger than 1/3 of a buffer page cannot be indexed.