Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkdVT-0003tv-GK for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 16:25:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TkdVT-00015B-04 for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 16:25:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkdVS-000156-F7 for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 16:25:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkdVQ-0001c6-7u for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 16:25:29 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qBHGPOLc026091; Mon, 17 Dec 2012 11:25:24 -0500 (EST) From: Tom Lane To: Andres Freund cc: Paragon Corporation , pgsql-bugs@postgresql.org Subject: Re: BUG #7756: When upgrading postgis extension get row is too big: size 9272, maximum size 8160 In-reply-to: <20121217151117.GA4803@awork2.anarazel.de> References: <20121217140432.GB5099@awork2.anarazel.de> <320FE6BE45114A61884C5BEDB517D6E9@O> <20121217151117.GA4803@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 17 Dec 2012 16:11:17 +0100" Date: Mon, 17 Dec 2012 11:25:24 -0500 Message-ID: <26090.1355761524@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 Andres Freund writes: > On 2012-12-17 10:06:53 -0500, Paragon Corporation wrote: >> 2012-12-17 09:15:15 EST ERROR: 54000: row is too big: size 9272, maximum >> size 8160 > Unfortunately that doesn't tell us very much. Could you get a backtrace > for that? I don't really see which table should receive such large > tuples... Hm ... pg_extension does not have a TOAST table. Could the extconfig and extcondition fields be getting bloated unreasonably? If I understand the scenario here, this would require (1) the extension contains a configuration table (probably one with a filter condition) and (2) for some reason the repeated updates are adding, not replacing, entries for the table in these columns. If that's the story it would be easy to verify by watching the extension's pg_extension entry as you repeatedly upgrade it. 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