Re: pg_dump --with-* options

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump --with-* options
Date: 2025-06-14 02:29:35
Message-ID: CADkLM=e44492u=MxGQ845hi4pBxo3C4acMkrs+XSVh5tXdWBag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> One of the challenges in the current case is that it is not obvious how
> --with-data, --no-data, --data-only etc. are connected. If that were
> clearer, then the way these options should combine or conflict would
> hopefully follow somewhat naturally.
>

They all should be mutually exclusive, and usage of any two of them should
raise an error, hence order not mattering.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2025-06-14 02:42:05 Re: pg_dump --with-* options
Previous Message Fujii Masao 2025-06-14 01:41:55 Re: Suggestions for improving \conninfo output in v18