From: Martin Pitt <mpitt@debian.org>
To: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: *.sql contrib files contain unresolvable MODULE_PATHNAME
Date: Wed, 12 Oct 2011 09:53:14 +0200
Message-ID: <20111012075314.GA25470@piware.de> (raw)
Hello all,
In https://launchpad.net/bugs/835502 it was reported that the 9.1.1
contrib *.sql files contain the token "MODULE_PATHNAME", which is
unknown:
psql test < /usr/share/postgresql/9.1/extension/intarray--1.0.sql
This fails with a ton of errors about the file "MODULE_PATHNAME" not
existing.
When I replace this with "$libdir/_int", it works:
sed 's!MODULE_PATHNAME!$libdir/_int!g' /usr/share/postgresql/9.1/extension/intarray--1.0.sql | psql test
Is that something I'm doing wrong in the packaging, or should the
contrib Makefiles be fixed to do this substitution?
It doesn't only affect intarray, but pretty much all *.sql files.
Thanks for any insight,
Martin Pitt
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Attachments:
signature.asc (application/pgp-signature, 835B) download
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: mpitt@debian.org
Subject: Re: *.sql contrib files contain unresolvable MODULE_PATHNAME
In-Reply-To: <20111012075314.GA25470@piware.de>
References: <20111012075314.GA25470@piware.de>
* 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