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

From Nathan Bossart
Subject Re: pg_dump --with-* options
Date
Msg-id aFLenfMRS9jFINxq@nathan
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 Wed, Jun 18, 2025 at 08:29:16AM -0700, Jeff Davis wrote:
> 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.

IIUC the current proposal is to:

* Dump/restore stats by default.
* Keep the --no-statistics, --no-schema, and --no-data options.
* Keep the --statistics-only, --schema-only, and --data-only options.
* Remove the --with-statistics, --with-schema, and --with-data options.

How does that sound?

-- 
nathan



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: pg_dump --with-* options
Next
From: Nathan Bossart
Date:
Subject: Re: Fixes inconsistent behavior in vacuum when it processes multiple relations