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

From Álvaro Herrera
Subject Re: bug: pg_dumpall with --data-only and --clean options is giving an error after some dump
Date
Msg-id 202603151210.2dexp4f652dw@alvherre.pgsql
Whole thread Raw
In response to Re: bug: pg_dumpall with --data-only and --clean options is giving an error after some dump  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: bug: pg_dumpall with --data-only and --clean options is giving an error after some dump
List pgsql-hackers
Hi,

On 2026-Mar-15, Andrew Dunstan wrote:

> On 2026-03-14 Sa 3:18 PM, Mahendra Singh Thalor wrote:
>
> > I was doing some tests with pg_dump, pg_dumpall and pg_restore tools.
> > With "pg_dumpall --data-only --clean", we are reporting an error after
> > dumping some data.
> 
> Hmm, this looks like behaviour that goes a long way back. Should we
> backpatch this fix?

IMO it would make sense to do so.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: pgcrypto/des tests fail on riscv64 due to clang's code generation anomaly
Next
From: Zsolt Parragi
Date:
Subject: gen_guc_tables improvements