From: Asif Rehman <asifr.rehman@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Guillaume Lelarge <guillaume@lelarge.info>
Subject: Re: Extensions not dumped when --schema is used
Date: Wed, 03 Feb 2021 17:32:19 +0000
Message-ID: <161237353962.16840.7166786393737397675.pgcf@coridan.postgresql.org> (raw)
In-Reply-To: <CAECtzeXHcvz7HWv0CNQ3u5nA7ZWsc8hj3ZsE1sSOh-pKVPagEg@mail.gmail.com>
References: <CAECtzeXOt4cnMU5+XMZzxBPJ_wu76pNy6HZKPRBL-j7yj1E4+g@mail.gmail.com>
<CAECtzeXHcvz7HWv0CNQ3u5nA7ZWsc8hj3ZsE1sSOh-pKVPagEg@mail.gmail.com>
The following review has been posted through the commitfest application:
make installcheck-world: tested, passed
Implements feature: tested, passed
Spec compliant: not tested
Documentation: not tested
The patch applies cleanly and looks fine to me. However consider this scenario.
- CREATE SCHEMA foo;
- CREATE EXTENSION file_fdw WITH SCHEMA foo;
- pg_dump --file=/tmp/test.sql --exclude-schema=foo postgres
This will still include the extension 'file_fdw' in the backup script. Shouldn't it be excluded as well?
The new status of this patch is: Waiting on Author
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-hackers@postgresql.org
Cc: asifr.rehman@gmail.com, guillaume@lelarge.info
Subject: Re: Extensions not dumped when --schema is used
In-Reply-To: <161237353962.16840.7166786393737397675.pgcf@coridan.postgresql.org>
References: <CAECtzeXOt4cnMU5+XMZzxBPJ_wu76pNy6HZKPRBL-j7yj1E4+g@mail.gmail.com> <CAECtzeXHcvz7HWv0CNQ3u5nA7ZWsc8hj3ZsE1sSOh-pKVPagEg@mail.gmail.com> <161237353962.16840.7166786393737397675.pgcf@coridan.postgresql.org>
* 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