robert.thaler@cellent.at writes:
> I tried to upgrade from postgres 9.3.5 and imported a database export
> created by pg_dump. the import shows the following error:
> ERROR: index row size 1480 exceeds
> maximum 1352 for index "idx_sm_post_content"
> manually creating the gin index for fulltext search does not work too and
> produces the same error.
> create index idx_sm_post_content
> on client.sm_post using gin (to_tsvector('english', "content"))
> on postgres 9.3.5 creating the index on the same data works fine.
Hm, can you provide sample data that triggers this? The GIN code
looks like it's supposed to avoid this limit at higher logic levels,
but evidently that's dropping the ball somewhere. Hard to tell where
without a concrete example though.
regards, tom lane