Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkexV-0005Ee-RK for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 17:58:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TkexV-0005Jd-BF for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 17:58:33 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkexU-0005Iu-F1 for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 17:58:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TkexT-0002FM-96 for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 17:58:31 +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 qBHHwSo5027986; Mon, 17 Dec 2012 12:58:28 -0500 (EST) From: Tom Lane To: "Paragon Corporation" cc: "'Andres Freund'" , 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: <74C64E2F526645CB983E4FF80E6B2E1B@O> References: <20121217140432.GB5099@awork2.anarazel.de> <320FE6BE45114A61884C5BEDB517D6E9@O> <20121217151117.GA4803@awork2.anarazel.de> <26090.1355761524@sss.pgh.pa.us> <74C64E2F526645CB983E4FF80E6B2E1B@O> Comments: In-reply-to "Paragon Corporation" message dated "Mon, 17 Dec 2012 12:40:30 -0500" Date: Mon, 17 Dec 2012 12:58:28 -0500 Message-ID: <27985.1355767108@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 "Paragon Corporation" writes: > The postgis extension has a big custom WHERE condition used to exclude the > range of spatial_ref_sys records we package postgis from being backed up. > pg_extension seems to hold that value in the extcondition column and for > each upgrade I do adds another array entry. Though that might be by design > to keep track of previous versions and maybe the designers weren't expecting > someone crazy enough to stuff in a largish where condition :) For those of us who don't have the latest postgis and all its dependencies installed, could you extract just the steps of the install and upgrade scripts that reference this configuration table? I can see how we might get to this if you were dropping and re-adding the config table in each cycle, but perhaps that's not what you're doing. 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