From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paragon Corporation <lr@pcorp.us>
Cc: 'Andres Freund' <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7756: When upgrading postgis extension get row is too big: size 9272, maximum size 8160
Date: Mon, 17 Dec 2012 16:13:16 -0500
Message-ID: <7346.1355778796@sss.pgh.pa.us> (raw)
In-Reply-To: <2B9F3B80E42F4D1BB1F492D186DD62FA@O>
References: <E1TkbAz-0004Cu-4r@wrigleys.postgresql.org>
<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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"Paragon Corporation" <lr@pcorp.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, lr@pcorp.us, andres@2ndquadrant.com
Subject: Re: BUG #7756: When upgrading postgis extension get row is too big: size 9272, maximum size 8160
In-Reply-To: <7346.1355778796@sss.pgh.pa.us>
References: <E1TkbAz-0004Cu-4r@wrigleys.postgresql.org> <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> <7346.1355778796@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox