Re: Proposal to include --exclude-extension Flag in pg_dump
От | Ayush Vatsa |
---|---|
Тема | Re: Proposal to include --exclude-extension Flag in pg_dump |
Дата | |
Msg-id | CACX+KaOyfNaY+EQSYEa-Yecfs=zdnNTZx=peR9R00PccO2xZvg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Proposal to include --exclude-extension Flag in pg_dump (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>) |
Ответы |
Re: Proposal to include --exclude-extension Flag in pg_dump
|
Список | pgsql-hackers |
Hi,
> Aren't extensions excluded by default? That's why we have --extension.
According to the documentation of pg_dump when the --extension option is not specified, all non-system extensions in the target database will get dumped.
> Why do we need to explicitly exclude extensions?
Hence to include only a few we use --extension, but to exclude a few I am proposing --exclude-extension.
On Mon, 1 Jan 2024 at 18:18, Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> wrote:
On Mon, Dec 25, 2023 at 3:48 PM Ayush Vatsa <ayushvatsa1810@gmail.com> wrote:
>
> Hi PostgreSQL Community,
> Recently I have been working on pg_dump regarding my project and wanted to exclude an extension from the dump generated. I wonder why it doesn't have --exclude-extension type of support whereas --extension exists!
> Since I needed that support, I took the initiative to contribute to the community by adding the --exclude-extension flag.
Aren't extensions excluded by default? That's why we have --extension.
Why do we need to explicitly exclude extensions?
--
Best Wishes,
Ashutosh Bapat
В списке pgsql-hackers по дате отправления: