Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 36372B5DBE4 for ; Wed, 12 Oct 2011 15:29:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 30405-05 for ; Wed, 12 Oct 2011 18:29:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7125CB5DBD9 for ; Wed, 12 Oct 2011 15:29:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9CITH4V020571; Wed, 12 Oct 2011 14:29:17 -0400 (EDT) To: Magnus Hagander cc: Heikki Linnakangas , Andrew Dunstan , Robert Haas , Stefan Kaltenbrunner , PostgreSQL Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME In-reply-to: References: <20111012075314.GA25470@piware.de> <4E954895.6040701@kaltenbrunner.cc> <4E95523E.1010608@enterprisedb.com> <12966.1318428759@sss.pgh.pa.us> <4E95A4BE.8050501@dunslane.net> <4E95AD97.8040800@enterprisedb.com> <13817.1318432821@sss.pgh.pa.us> <4E95B131.4010505@enterprisedb.com> <14185.1318434032@sss.pgh.pa.us> <19678.1318440987@sss.pgh.pa.us> Comments: In-reply-to Magnus Hagander message dated "Wed, 12 Oct 2011 20:21:11 +0200" Date: Wed, 12 Oct 2011 14:29:17 -0400 Message-ID: <20570.1318444157@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/740 X-Sequence-Number: 196546 Magnus Hagander writes: > On Wed, Oct 12, 2011 at 19:36, Tom Lane wrote: >> PFA, a sample patch for this --- I've only bothered to change one script >> file here, but will of course do the rest if there are no further >> objections. > I guess the failure scenario is if someone has an extension from 9.1.2 > and tries to load it into 9.1.1 or earlier, in which case they will > get a syntax error or somehing when trying to run the CREATE EXTENSION > command, right? I doubt that's something worth dealing with - it's a > lot less likely to happen. Hmm, yeah, you're right. But it doesn't seem like a big problem to me, certainly not as big as the problem we're trying to solve. > We might want to document this for other third-party extension > developers to use as a trick as well? Yes, I will add something to the docs. regards, tom lane