Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9F500B5DBCA for ; Wed, 12 Oct 2011 11:31:32 -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 08478-09 for ; Wed, 12 Oct 2011 14:31:26 +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.123]) by mail.postgresql.org (Postfix) with ESMTP id 87452B5DBC2 for ; Wed, 12 Oct 2011 11:31:26 -0300 (ADT) X-Authority-Analysis: v=1.1 cv=fBQ/umHr/NntWb97nPvjJqL5/J9L8K0X95NnniynOrI= c=1 sm=0 a=FR8lIomz6REA:10 a=KREk6HCtZjIA:10 a=Acs96HtBqXsA:10 a=8nJEP1OIZ-IA:10 a=CKNHKMF03bXAQcv19zyZwQ==:17 a=pGLkceISAAAA:8 a=5_6BtPwLyeBHvxd62NoA:9 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A: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:38455] helo=[192.168.10.146]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id B2/B5-05030-EB4A59E4; Wed, 12 Oct 2011 14:31:26 +0000 Message-ID: <4E95A4BE.8050501@dunslane.net> Date: Wed, 12 Oct 2011 10:31:26 -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: Tom Lane CC: Robert Haas , Magnus Hagander , Heikki Linnakangas , 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> In-Reply-To: <12966.1318428759@sss.pgh.pa.us> 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/710 X-Sequence-Number: 196516 On 10/12/2011 10:12 AM, Tom Lane wrote: > Robert Haas writes: >> We could do that, but I think Heikki's idea of adding a comment would >> help a lot. > +1. Simple, easy, should help significantly. > > Also, I disagree with the position that the files "aren't SQL files". > Sure they are. You'd want them treated as SQL by your editor, for > example. So changing the extension is just wrong. > *shrug* ok. Another thought I had was to have the file raise an error and have that filtered out by the extension mechanism. But I'm not sure if it's worth the trouble. cheers andrew