Reducing pg_dumpall errors - Mailing list pgsql-hackers

From Bruce Momjian
Subject Reducing pg_dumpall errors
Date
Msg-id 20121204033721.GE7675@momjian.us
Whole thread Raw
List pgsql-hackers
I recently applied the attached patch to prevent recreation of the
current database user in the dump file when in binary upgrade mode.
This was necessary because pg_upgrade will fail on any error from a
pg_dumpall restore.

It would be nice of we could do the same for non-binary-upgrade
pg_dumpall dumps, but I assume we can't because the restore might be
performed by a super user who is different from the dump user, right?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: ALTER TABLE ... NOREWRITE option
Next
From: Michael Paquier
Date:
Subject: Forgotten argument description in header of index_create