Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY4y0-0002K5-4N for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 02:43:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WY4xz-0007UW-JB for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Apr 2014 02:43:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY4xy-0007TZ-K1 for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 02:43:50 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WY4xv-0006XM-Up for pgsql-bugs@postgresql.org; Thu, 10 Apr 2014 02:43:50 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WY4xt-0008CO-J6; Wed, 09 Apr 2014 22:43:45 -0400 Date: Wed, 9 Apr 2014 22:43:45 -0400 From: Bruce Momjian To: Tom Lane Cc: chris@chrullrich.net, pgsql-bugs@postgresql.org Subject: Re: BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql Message-ID: <20140410024345.GA31142@momjian.us> References: <20140331170009.GA18559@momjian.us> <20140410015218.GP8685@momjian.us> <316.1397096128@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <316.1397096128@sss.pgh.pa.us> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Wed, Apr 9, 2014 at 10:15:28PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > I see a filter on pg_catalog for pg_proc. Is there a reason there isn't > > one for pg_extension? > > Extensions don't live in schemas. That's what I thought too, but I see a schema file in pg_extensions: test=> \d pg_extension Table "pg_catalog.pg_extension" Column | Type | Modifiers ----------------+---------+----------- extname | name | not null extowner | oid | not null --> extnamespace | oid | not null extrelocatable | boolean | not null extversion | text | extconfig | oid[] | extcondition | text[] | Indexes: "pg_extension_name_index" UNIQUE, btree (extname) "pg_extension_oid_index" UNIQUE, btree (oid) SELECT extname, extnamespace, nspname FROM pg_extension, pg_namespace WHERE extnamespace = pg_namespace.oid; extname | extnamespace | nspname ---------+--------------+------------ plpgsql | 11 | pg_catalog (1 row) Should we hard-code a pg_catalog plpgsql to be skipped in pg_dump? -- Bruce Momjian 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