Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY5RK-0003G8-Ph for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 03:14:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WY5RK-00057l-5N for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 03:14:10 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY5RJ-00057e-4f for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 03:14:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY5RH-000470-1Q for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 03:14:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s3A3DvKI001421; Wed, 9 Apr 2014 23:13:57 -0400 From: Tom Lane To: Bruce Momjian cc: chris@chrullrich.net, pgsql-bugs@postgresql.org Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql In-reply-to: <20140410024345.GA31142@momjian.us> References: <20140331170009.GA18559@momjian.us> <20140410015218.GP8685@momjian.us> <316.1397096128@sss.pgh.pa.us> <20140410024345.GA31142@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 09 Apr 2014 22:43:45 -0400" Date: Wed, 09 Apr 2014 23:13:57 -0400 Message-ID: <1420.1397099637@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Bruce Momjian 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