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: Wed, 9 Apr 2014 22:43:45 -0400
Message-ID: <20140410024345.GA31142@momjian.us> (raw)
In-Reply-To: <316.1397096128@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Wed, Apr 9, 2014 at 10:15:28PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> 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 <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
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: <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>
* 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