pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: PostgreSQL <Pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME
Date: Wed, 12 Oct 2011 10:31:26 -0400
Message-ID: <4E95A4BE.8050501@dunslane.net> (raw)
In-Reply-To: <12966.1318428759@sss.pgh.pa.us>
References: <20111012075314.GA25470@piware.de>
	<4E954895.6040701@kaltenbrunner.cc>
	<4E95523E.1010608@enterprisedb.com>
	<CABUevEyy8xW=qfUsWutr660+uWTF+akRPMm_dJ5u4n141bg+WA@mail.gmail.com>
	<CA+TgmoaNBwENDdj_+Gv17cQxzT89f0nQX0YkB-y1L4hkNL28_A@mail.gmail.com>
	<12966.1318428759@sss.pgh.pa.us>



On 10/12/2011 10:12 AM, Tom Lane wrote:
> Robert Haas<robertmhaas@gmail.com>  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



view thread (25+ messages)  latest in thread

Message-ID: <4E95A4BE.8050501@dunslane.net>
Permalink:  ../4E95A4BE.8050501@dunslane.net/
Also on:    postgresql.org/message-id/4E95A4BE.8050501@dunslane.net

 · 

reply

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: andrew@dunslane.net, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, magnus@hagander.net, heikki.linnakangas@enterprisedb.com, stefan@kaltenbrunner.cc, Pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME
  In-Reply-To: <4E95A4BE.8050501@dunslane.net>
  References: <20111012075314.GA25470@piware.de> <4E954895.6040701@kaltenbrunner.cc> <4E95523E.1010608@enterprisedb.com> <CABUevEyy8xW=qfUsWutr660+uWTF+akRPMm_dJ5u4n141bg+WA@mail.gmail.com> <CA+TgmoaNBwENDdj_+Gv17cQxzT89f0nQX0YkB-y1L4hkNL28_A@mail.gmail.com> <12966.1318428759@sss.pgh.pa.us> <4E95A4BE.8050501@dunslane.net>

* 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