Re: Extensions not dumped when --schema is used - Mailing list pgsql-hackers

From Asif Rehman
Subject Re: Extensions not dumped when --schema is used
Date
Msg-id 161237353962.16840.7166786393737397675.pgcf@coridan.postgresql.org
Whole thread Raw
In response to Re: Extensions not dumped when --schema is used  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Extensions not dumped when --schema is used
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
Next
From: Guillaume Lelarge
Date:
Subject: Re: Extensions not dumped when --schema is used