Teodor Sigaev <teodor(at)sigaev(dot)ru> writes: > Why don't use suggested way for GIN index over tsvector? > http://archives.postgresql.org/pgsql-hackers/2008-04/msg00812.php I had forgotten the details :-(. Will adopt that code. >> This is still WIP because I haven't touched any contrib code, but >> as far as the main backend goes I think it's ready to apply. > Patch to all contrib modules: > http://www.sigaev.ru/misc/contrib.patch.gz Ooops, we duplicated work :-(. Will compare with your version before applying. regards, tom lane