For the sake of completeness/reference: The backport for 8.1 (http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/gin_tsearch2_81.gz) doesn't seem to have this bug, at least on a linux x86_64 machine I can create empty gin indexes with no problem.
It hasn't, because 8.2 already goes forward: there is a corner case when documents has a lot of unique words (millions) and index creation time becomes very long. 8.2 will create index much faster in this case.
And the performance is sweeeet! Thanks Oleg & Teodor!
:) -- Teodor Sigaev E-mail: [EMAIL PROTECTED] WWW: http://www.sigaev.ru/ ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend