Re: pg_dump --with-* options

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Jeff Davis <pgsql@j-davis.com>, Nathan Bossart <nathandbossart@gmail.com>, Corey Huinker <corey.huinker@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-06-13T00:33:26Z
Lists: pgsql-hackers

On 2025/06/13 6:12, Jeff Davis wrote:
> On Thu, 2025-06-12 at 15:57 -0500, Nathan Bossart wrote:
>> FWIW I don't have a tremendously strong opinion about --statistics-
>> only.
> 
> Same here. I won't cast a vote on this particular issue, as long as the
> functionality is available.

I prefer keeping it as a shorthand for --with-statistics --no-data --no-schema.
It's redundant, but it's intuitive and convenient. That said, if others feel
strongly about removing it, I'm fine with that too.

Regards,

-- 
Fujii Masao
NTT DATA Japan Corporation




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Simplify options in pg_dump and pg_restore.

  2. pg_dump: reject combination of "only" and "with"

  3. Change pg_dump default for statistics export.