pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Corey Huinker <corey.huinker@gmail.com>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: Nathan Bossart <nathandbossart@gmail.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: Tue, 17 Jun 2025 10:17:37 -0700
Message-ID: <2a1a00a7393c2bdfc7051c697f801716c0601d1f.camel@j-davis.com> (raw)
In-Reply-To: <CADkLM=fXSiX4GQ7F6__z+ofGpp0QwwytGP-GNeVQyMhc29bbwQ@mail.gmail.com>
References: <7cc52488-f876-4ad3-affd-6e4b0ef0cb09@eisentraut.org>
	<aEMLzPQtjRbj2R7X@nathan>
	<CA+TgmoactJEUHeXuxHLKNXHzm6-XrQFigPur-4nHTMFSiSRkiQ@mail.gmail.com>
	<aErpuM6RXSlK1FBW@nathan>
	<1854ffbf-f8eb-4bc3-b9f8-223bbf58c392@oss.nttdata.com>
	<271f899c54d112b353e009286af7c6cdb7c3d609.camel@j-davis.com>
	<aEyK6FxJqcv53s8b@nathan>
	<94f89b0a-5d83-4a67-9092-50ba3913441c@oss.nttdata.com>
	<CADkLM=fXSiX4GQ7F6__z+ofGpp0QwwytGP-GNeVQyMhc29bbwQ@mail.gmail.com>

On Mon, 2025-06-16 at 15:35 -0400, Corey Huinker wrote:
> 
> I think this is the exact sort of confusion caused by having two of
> the three types default to on in all circumstances, and one default
> to off in one special circumstance.

That's certainly a part of the confusion, but the "--x-only" options
also put us in a tough spot.

If --data-only had always been spelled "--no-schema" (or "--without-
data" or whatever), and --schema-only had always been spelled "--no-
data", then I think it would be a lot easier to add statistics into the
mix.

Regards,
	Jeff Davis






view thread (72+ messages)  latest in thread

Message-ID: <2a1a00a7393c2bdfc7051c697f801716c0601d1f.camel@j-davis.com>
Permalink:  ../2a1a00a7393c2bdfc7051c697f801716c0601d1f.camel@j-davis.com/
Also on:    postgresql.org/message-id/2a1a00a7393c2bdfc7051c697f801716c0601d1f.camel@j-davis.com

 · 

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: pgsql@j-davis.com, corey.huinker@gmail.com, masao.fujii@oss.nttdata.com, nathandbossart@gmail.com, robertmhaas@gmail.com, peter@eisentraut.org
  Subject: Re: pg_dump --with-* options
  In-Reply-To: <2a1a00a7393c2bdfc7051c697f801716c0601d1f.camel@j-davis.com>

* 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