Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2lPv-0007Rq-G4 for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Dec 2014 18:39:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y2lPv-0007pS-1B for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Dec 2014 18:39:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y2lPu-0007pJ-4z for pgsql-bugs@postgresql.org; Sun, 21 Dec 2014 18:39:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y2lPr-0005uU-5U for pgsql-bugs@postgresql.org; Sun, 21 Dec 2014 18:39:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sBLIddEK002276; Sun, 21 Dec 2014 13:39:39 -0500 From: Tom Lane To: robert.thaler@cellent.at cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12292: index row size 1480 exceeds maximum 1352 for index In-reply-to: <20141220192730.11502.42806@wrigleys.postgresql.org> References: <20141220192730.11502.42806@wrigleys.postgresql.org> Comments: In-reply-to robert.thaler@cellent.at message dated "Sat, 20 Dec 2014 19:27:30 +0000" Date: Sun, 21 Dec 2014 13:39:39 -0500 Message-ID: <2275.1419187179@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs