pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: chris@chrullrich.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql
Date: Thu, 10 Apr 2014 08:11:08 -0400
Message-ID: <20140410121108.GA6917@momjian.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Wed, Apr  9, 2014 at 11:13:57PM -0400, Tom Lane wrote:
> 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.

OK, I added a TODO:

	Prevent PL/pgSQL comment from throwing an error in a
	non-superuser restore 

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)

Message-ID: <20140410121108.GA6917@momjian.us>
Permalink:  ../20140410121108.GA6917@momjian.us/
Also on:    postgresql.org/message-id/20140410121108.GA6917@momjian.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: bruce@momjian.us, tgl@sss.pgh.pa.us, chris@chrullrich.net
  Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql
  In-Reply-To: <20140410121108.GA6917@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> <1420.1397099637@sss.pgh.pa.us> <20140410121108.GA6917@momjian.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