Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C2C87B5DCDF for ; Wed, 12 Oct 2011 15:40:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 48601-02-4 for ; Wed, 12 Oct 2011 18:39:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mail.postgresql.org (Postfix) with ESMTP id CF81AB5DC71 for ; Wed, 12 Oct 2011 15:39:46 -0300 (ADT) X-Authority-Analysis: v=2.0 cv=O6u7TWBW c=1 sm=0 a=CKNHKMF03bXAQcv19zyZwQ==:17 a=FR8lIomz6REA:10 a=KREk6HCtZjIA:10 a=Acs96HtBqXsA:10 a=8nJEP1OIZ-IA:10 a=b7E0WnD7kqe0J7BZSlAA:9 a=wPNLvfGTeEIA:10 a=CKNHKMF03bXAQcv19zyZwQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.27.54.176 Received: from [98.27.54.176] ([98.27.54.176:36902] helo=[192.168.10.146]) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id EC/7D-06600-1FED59E4; Wed, 12 Oct 2011 18:39:46 +0000 Message-ID: <4E95DEF1.6010603@dunslane.net> Date: Wed, 12 Oct 2011 14:39:45 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: Magnus Hagander CC: Tom Lane , Heikki Linnakangas , Robert Haas , Stefan Kaltenbrunner , PostgreSQL Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201110/742 X-Sequence-Number: 196548 On 10/12/2011 02:21 PM, Magnus Hagander wrote: > On Wed, Oct 12, 2011 at 19:36, Tom Lane wrote: >> >> regression=# \i ~/postgres/share/extension/cube--1.0.sql >> Use "CREATE EXTENSION cube" to load this file. >> regression=# >> >> which is about as good as one could hope for. > Looks great to me. Yes, me too. > 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. > As long as we are going to apply it for 9.1 and not wait for 9.2 I don't think there will be much problem. I think this is one of the rare cases where we should apply a change to the stable release. cheers andrew