Re: index row size exceeds btree maximum, 2713 - - Mailing list pgsql-general

From Tom Lane
Subject Re: index row size exceeds btree maximum, 2713 -
Date
Msg-id 24837.1121786752@sss.pgh.pa.us
Whole thread Raw
In response to Re: index row size exceeds btree maximum, 2713 -  (Scott Marlowe <smarlowe@g2switchworks.com>)
Responses Re: index row size exceeds btree maximum, 2713 -
List pgsql-general
Scott Marlowe <smarlowe@g2switchworks.com> writes:
> On Tue, 2005-07-19 at 05:42, Dennis Bjorklund wrote:
>> You can index text fields, but you can't insert values bigger then
>> BLOCKSIZE/3 when you have an index on that column.]

> Please note that the size limitation is for btree indexes, the most
> common and well tested index types.
> For hash you can have a much larger value, but only direct matching is
> supported.
> I don't know about GiST...

None of the index types support entries larger than BLOCKSIZE-less-a-bit,
so switching to a different index type won't do more than push the
problem out by a factor of about 3.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hot to restrict access to subset of data
Next
From: Samuel Thoraval
Date:
Subject: Re: Hot to restrict access to subset of data