From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: chris@chrullrich.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql
Date: Wed, 09 Apr 2014 23:13:57 -0400
Message-ID: <1420.1397099637@sss.pgh.pa.us> (raw)
In-Reply-To: <20140410024345.GA31142@momjian.us>
References: <E1VuYH7-0008Rz-SV@wrigleys.postgresql.org>
<20140331170009.GA18559@momjian.us>
<20140410015218.GP8685@momjian.us>
<316.1397096128@sss.pgh.pa.us>
<20140410024345.GA31142@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Bruce Momjian <bruce@momjian.us> writes:
> That's what I thought too, but I see a schema file in pg_extensions:
Read the manual.
> Should we hard-code a pg_catalog plpgsql to be skipped in pg_dump?
No, I don't think so.
The real issue here is that we don't have a notion of a "built-in
extension". I think this was specifically debated back when we
extension-ified plpgsql, though I don't recall details of why
we ended up not doing that. Maybe the idea was that you could
drop and then re-add plpgsql? Anyway, I think this is not such
a simple issue and a one-line hack in pg_dump is not likely to
improve matters.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, bruce@momjian.us, chris@chrullrich.net
Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql
In-Reply-To: <1420.1397099637@sss.pgh.pa.us>
References: <E1VuYH7-0008Rz-SV@wrigleys.postgresql.org> <20140331170009.GA18559@momjian.us> <20140410015218.GP8685@momjian.us> <316.1397096128@sss.pgh.pa.us> <20140410024345.GA31142@momjian.us> <1420.1397099637@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