From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql(at)j-davis(dot)com |
Subject: | Re: pg_dump --with-* options |
Date: | 2025-06-06 15:39:56 |
Message-ID: | aEMLzPQtjRbj2R7X@nathan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jun 06, 2025 at 09:14:32AM +0200, Peter Eisentraut wrote:
> We have
>
> -a, --data-only dump only the data, not the schema or statistics
> --no-data do not dump data
> --with-data dump the data # this one is new
>
> (and there is also --section=data), and then three analogous options for
> "schema" and "statistics".
>
> What is the purpose of the --with-data option? Dumping the data is the
> default. Is this to override an earlier --no-data option?
I believe the idea is that these will allow folks to be explicit about what
they want instead of needing to understand the defaults for every
component.
--
nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Jacob Champion | 2025-06-06 15:41:20 | Re: Unnecessary connection overhead due copy-on-write (mainly openssl) |
Previous Message | Nathan Bossart | 2025-06-06 15:26:36 | Re: CHECKPOINT unlogged data |