Re: pg_dump bugs reported as pg_upgrade bugs

2022-11-30 Thread Robert Haas
On Wed, Nov 30, 2022 at 12:23 AM Tom Lane wrote: > pg_dump scripts are *designed* to be tolerant of errors, mainly so > that you can restore into a situation that's not exactly like where > you dumped from, with the possible need to resolve errors or decide > that they're not problems. So your

Re: pg_dump bugs reported as pg_upgrade bugs

2022-11-30 Thread Bruce Momjian
On Wed, Nov 30, 2022 at 12:22:57AM -0500, Tom Lane wrote: > Bruce Momjian writes: > > FYI, you might wonder why so many bugs reported on pg_upgrade eventually > > are bugs in pg_dump. Well, of course, partly is it because pg_upgrade > > relies on pg_dump, but a bigger issue is that pg_upgrade

Re: pg_dump bugs reported as pg_upgrade bugs

2022-11-29 Thread Tom Lane
Bruce Momjian writes: > FYI, you might wonder why so many bugs reported on pg_upgrade eventually > are bugs in pg_dump. Well, of course, partly is it because pg_upgrade > relies on pg_dump, but a bigger issue is that pg_upgrade will fail if > pg_dump or its restoration generate _any_ errors. My

pg_dump bugs reported as pg_upgrade bugs

2022-11-29 Thread Bruce Momjian
FYI, you might wonder why so many bugs reported on pg_upgrade eventually are bugs in pg_dump. Well, of course, partly is it because pg_upgrade relies on pg_dump, but a bigger issue is that pg_upgrade will fail if pg_dump or its restoration generate _any_ errors. My guess is that many people are