Re: bug: pg_dumpall with --data-only and --clean options is giving an error after some dump

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Mahendra Singh Thalor <mahi6run@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-03-15T16:20:41Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Hmm, this looks like behaviour that goes a long way back. Should we 
> backpatch this fix?

I wouldn't bother.  At the end of the day you get the same failure
report anyway.

			regards, tom lane



Commits

  1. pg_dumpall: Fix handling of incompatible options.