Re: Proposal to include --exclude-extension Flag in pg_dump

From: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
To: Ayush Vatsa <ayushvatsa1810(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal to include --exclude-extension Flag in pg_dump
Date: 2024-01-01 12:48:09
Message-ID: CAExHW5u1cfUK=rxHhsgteVW8=UYS+ht6-ai56fAfTF0U9o9=aA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 25, 2023 at 3:48 PM Ayush Vatsa <ayushvatsa1810(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2024-01-01 12:49:43 Re: Autonomous transactions 2023, WIP
Previous Message John Naylor 2024-01-01 12:16:02 Re: warn if GUC set to an invalid shared library