Re: index row requires 10040 bytes, maximum size is 8191 - Mailing list pgsql-general

From Tom Lane
Subject Re: index row requires 10040 bytes, maximum size is 8191
Date
Msg-id 5018.1289849777@sss.pgh.pa.us
Whole thread Raw
In response to Re: index row requires 10040 bytes, maximum size is 8191  (akp geek <akpgeek@gmail.com>)
List pgsql-general
akp geek <akpgeek@gmail.com> writes:
> What we do with the text that I have mentioned is, we have
> search functionality on the text. The user enters some keywords and then the
> application should be able to search for all the text that matches the key
> word.

Well, a btree index on the entire string is approximately useless for
that anyway.  Look into the text search functionality.

            regards, tom lane

pgsql-general by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Backends "hanging" with strace showing selects?
Next
From: Tom Lane
Date:
Subject: Re: Backends "hanging" with strace showing selects?