pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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 18:09:11 +0300
Message-ID: <4E95AD97.8040800@enterprisedb.com> (raw)
In-Reply-To: <CABUevEyjK-tXUGNQxeuQmU9OqbdUbEUZqLsgYZAfuHQTL+3mCQ@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>
On 12.10.2011 17:33, Magnus Hagander wrote:
> How about adding something like
> -- \\psql_hates_this
> -- rest of comment
>
> and then at least have new versions of psql find that and stop
> processing the file with a more useful error at that point? Or maybe
> that's overengineering..
Overengineering IMHO. Besides, if a psql poison comment like that
exists, then we'd have to be careful not to emit one elsewhere. Think
pg_dump, if someone puts that comment in a function body...
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
view thread (25+ messages) latest in thread
Message-ID: <4E95AD97.8040800@enterprisedb.com> Permalink: ../4E95AD97.8040800@enterprisedb.com/ Also on: postgresql.org/message-id/4E95AD97.8040800@enterprisedb.com ·
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: heikki.linnakangas@enterprisedb.com, magnus@hagander.net, andrew@dunslane.net, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, stefan@kaltenbrunner.cc, Pgsql-hackers@postgresql.org Subject: Re: [BUGS] *.sql contrib files contain unresolvable MODULE_PATHNAME In-Reply-To: <4E95AD97.8040800@enterprisedb.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> * 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