pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Robert Haas <robertmhaas@gmail.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 14:29:17 -0400
Message-ID: <20570.1318444157@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevEyBKGBHmAUyyhF=3fMONXSPQ6iCMv4LG8bGYnsM87De_A@mail.gmail.com>
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>
	<CABUevEyjK-tXUGNQxeuQmU9OqbdUbEUZqLsgYZAfuHQTL+3mCQ@mail.gmail.com>
	<4E95AD97.8040800@enterprisedb.com>
	<13817.1318432821@sss.pgh.pa.us>
	<4E95B131.4010505@enterprisedb.com>
	<14185.1318434032@sss.pgh.pa.us>
	<CABUevEx23ZJ2oEKawZcc=mUjgqXGmSjjL+xRGPQaO6VCdo6MBg@mail.gmail.com>
	<19678.1318440987@sss.pgh.pa.us>
	<CABUevEyBKGBHmAUyyhF=3fMONXSPQ6iCMv4LG8bGYnsM87De_A@mail.gmail.com>

Magnus Hagander <magnus@hagander.net> writes:
> On Wed, Oct 12, 2011 at 19:36, Tom Lane <tgl@sss.pgh.pa.us> 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



view thread (25+ messages)  latest in thread

Message-ID: <20570.1318444157@sss.pgh.pa.us>
Permalink:  ../20570.1318444157@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20570.1318444157@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, magnus@hagander.net, heikki.linnakangas@enterprisedb.com, andrew@dunslane.net, robertmhaas@gmail.com, stefan@kaltenbrunner.cc, Pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME
  In-Reply-To: <20570.1318444157@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> <4E95A4BE.8050501@dunslane.net> <CABUevEyjK-tXUGNQxeuQmU9OqbdUbEUZqLsgYZAfuHQTL+3mCQ@mail.gmail.com> <4E95AD97.8040800@enterprisedb.com> <13817.1318432821@sss.pgh.pa.us> <4E95B131.4010505@enterprisedb.com> <14185.1318434032@sss.pgh.pa.us> <CABUevEx23ZJ2oEKawZcc=mUjgqXGmSjjL+xRGPQaO6VCdo6MBg@mail.gmail.com> <19678.1318440987@sss.pgh.pa.us> <CABUevEyBKGBHmAUyyhF=3fMONXSPQ6iCMv4LG8bGYnsM87De_A@mail.gmail.com> <20570.1318444157@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