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

From Greg Sabino Mullane
Subject Re: pg_dump --with-* options
Date
Msg-id CAKAnmmJCHTfD=qW=Dy-8RPOEdz10MwGjxAo8tf7gJgWad2-9JQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump --with-* options  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Thu, Jun 12, 2025 at 4:12 PM Corey Huinker <corey.huinker@gmail.com> wrote:
(peacefully skimming thread...)
...
If we're hot to remove options, how about we remove the sections flags? Their utility is reliant upon the user understanding exactly which things go in which section, and further assumes that everything deterministically goes in exactly one section, which is no longer the case as Jeff pointed out recently. They have outlived their usefulness.

[record scratch sound]
Wait, what?! Big -1. Guess we can debate this more for v19.

For this current discussion (--statistics-only), I'm a +1 for keeping things as they are now, in the name of intuitiveness.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Add progressive backoff to XactLockTableWait functions
Next
From: Greg Sabino Mullane
Date:
Subject: Re: [WIP PATCH v2] Implement "pg_restore --data-only --clean" as a way to skip WAL