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

From Jeff Davis
Subject Re: pg_dump --with-* options
Date
Msg-id 20be0a526bb873671d49e43e18dad7ab7cca601b.camel@j-davis.com
Whole thread Raw
In response to Re: pg_dump --with-* options  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-hackers
On Fri, 2025-07-11 at 09:12 +0900, Fujii Masao wrote:
> But to do that, we'd either need to make pg_dump dump statistics
> by default, or allow redundant options like --statistics in
> pg_restore,
> even though it already restores statistics by default.

Redundant options might be annoying, but I don't see them as a major
problem.

> As I understand it, the rough consensus so far is that we'd prefer to
> avoid both of these approaches.

I'm not clear what the consensus approach is, then. Can you elaborate?

> I know some want to change the default
> behavior about statistics in pg_dump, though.

I don't see a consensus to make stats the default.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Fix tab completion in v18 for ALTER DATABASE/USER/ROLE ... RESET
Next
From: Jim Jones
Date:
Subject: Re: Regression with large XML data input