pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pg_dump --with-* options
Date: Wed, 25 Jun 2025 09:36:02 -0500
Message-ID: <aFwJUgVuoqJjedfD@nathan> (raw)
In-Reply-To: <CAKAnmm+JwDEKTw_wm6ODnwTwMv=ajD+-Ay81_Md0LqeeanwQ3A@mail.gmail.com>
References: <7cc52488-f876-4ad3-affd-6e4b0ef0cb09@eisentraut.org>
	<aEMLzPQtjRbj2R7X@nathan>
	<CA+TgmoactJEUHeXuxHLKNXHzm6-XrQFigPur-4nHTMFSiSRkiQ@mail.gmail.com>
	<aErpuM6RXSlK1FBW@nathan>
	<7bf0246542713d80f12c738c1d365d1365750c18.camel@j-davis.com>
	<5e398522803da9bf3f9fc33ca43084ec21ab0fcd.camel@j-davis.com>
	<aFLenfMRS9jFINxq@nathan>
	<CAKAnmm+JwDEKTw_wm6ODnwTwMv=ajD+-Ay81_Md0LqeeanwQ3A@mail.gmail.com>

On Tue, Jun 24, 2025 at 06:14:55PM -0400, Greg Sabino Mullane wrote:
> On Wed, Jun 18, 2025 at 11:43 AM Nathan Bossart <nathandbossart@gmail.com>
> wrote:
>> 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.
> 
> This is so close to ideal. It's just that the first bullet should be "off
> by default" :)

If we did that, the only way to dump statistics would be --statistics-only,
right?  You wouldn't be able to include statistics along with other
things.

-- 
nathan





view thread (72+ messages)  latest in thread

Message-ID: <aFwJUgVuoqJjedfD@nathan>
Permalink:  ../aFwJUgVuoqJjedfD@nathan/
Also on:    postgresql.org/message-id/aFwJUgVuoqJjedfD@nathan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, htamfids@gmail.com, pgsql@j-davis.com, robertmhaas@gmail.com, peter@eisentraut.org
  Subject: Re: pg_dump --with-* options
  In-Reply-To: <aFwJUgVuoqJjedfD@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox