Re: pg_upgrade fails with an error "object doesn't exist" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_upgrade fails with an error "object doesn't exist"
Date
Msg-id 719363.1750129084@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade fails with an error "object doesn't exist"  (Vaibhav Dalvi <vaibhav.dalvi@enterprisedb.com>)
List pgsql-hackers
Vaibhav Dalvi <vaibhav.dalvi@enterprisedb.com> writes:
> Should we at least restrict dumping privileges for user objects inside
> pg_catalog to avoid pg_upgrade failure?

You haven't made a credible case for us to add any complexity in this
area.  Anybody messing with pg_catalog is living very much in "if you
break it, you get to keep both pieces" territory.  That extends not
just to whether the backend works at all, but whether auxiliary
functionality such as pg_dump works.  So in particular I don't see
a reason why we should cater to manually-added pg_catalog functions
with non-default ACLs.  There are enough moving parts in that area
already that I'm not eager to add more constraints to what pg_dump
needs to do.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Vaibhav Dalvi
Date:
Subject: Re: pg_upgrade fails with an error "object doesn't exist"
Next
From: "David G. Johnston"
Date:
Subject: Re: BackendKeyData is mandatory?