Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tki03-00086F-NS for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 21:13:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tki03-00082a-8E for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Dec 2012 21:13:23 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tki02-00082V-Iz for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 21:13:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tki00-00068w-RA for pgsql-bugs@postgresql.org; Mon, 17 Dec 2012 21:13:22 +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 qBHLDGUV007347; Mon, 17 Dec 2012 16:13:16 -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: <2B9F3B80E42F4D1BB1F492D186DD62FA@O> References: <20121217140432.GB5099@awork2.anarazel.de> <320FE6BE45114A61884C5BEDB517D6E9@O> <20121217151117.GA4803@awork2.anarazel.de> <26090.1355761524@sss.pgh.pa.us> <74C64E2F526645CB983E4FF80E6B2E1B@O> <27985.1355767108@sss.pgh.pa.us> <2B9F3B80E42F4D1BB1F492D186DD62FA@O> Comments: In-reply-to "Paragon Corporation" message dated "Mon, 17 Dec 2012 16:08:40 -0500" Date: Mon, 17 Dec 2012 16:13:16 -0500 Message-ID: <7346.1355778796@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: > Attached is a fake_postgis extension that you can just copy the files to > your extension folder that can produce the error if you run the below: Great, thanks for the test case. > I assumed that the : > pg_catalog.pg_extension_config_dump > Calls would overwrite each subsequent for a given object for a given > extension. So I have that in my upgrade script as well should we add more > spatial_ref_sys records we want to avoid dumping. > It seems it just adds. It probably should overwrite --- this is something we simply didn't consider in the original coding. The other case I was considering is that ALTER EXTENSION DROP should probably remove any extconfig entry for a table that you disassociate from the extension. 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