Re: pg_dump --with-* options - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: pg_dump --with-* options
Date
Msg-id 5e398522803da9bf3f9fc33ca43084ec21ab0fcd.camel@j-davis.com
Whole thread Raw
In response to Re: pg_dump --with-* options  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: pg_dump --with-* options
List pgsql-hackers
On Thu, 2025-06-12 at 08:58 -0700, Jeff Davis wrote:
> On Thu, 2025-06-12 at 09:52 -0500, Nathan Bossart wrote:
> > If the idea is to remove all options for default behavior, we'd be
> > removing
> > --no-statistics, --with-data, and --with-schema at this point.
>
> That's OK with me.

Actually, I take that back, we can't just remove --no-statistics.
Remember that statistics currently default to "on" for pg_restore even
though they default "off" for pg_dump.

So pg_restore still needs a way to turn stats off.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: pg_dump misses comments on NOT NULL constraints
Next
From: Nathan Bossart
Date:
Subject: Re: pg_dump --with-* options