> On Sep 6, 2024, at 18:40, Basha <Basha@maxcontact.com> wrote:
>
> I mean the case where, changes to system tables made. pg_dump to do granular control over it.
> Which means the pg_dump will work on the dev environments too, when there is a change to the system tables.
Anything's possible, but just speaking for myself, that doesn't seem like an attractive area of development. I don't
thinkit's possible to guarantee that pg_dump (or anything else) will always work with arbitrary system catalog
modifications.
The real problem you're trying to solve that that users can discover the existence of databases that they can't connect
to. That's much more imaginable, although I'm not sure how practical it would be. At minimum, the default behavior
wouldhave to be the same as it is now (or lots of things that work now would break), so introducing a new role
privilegeof "can see all databases" wouldn't be a great way forward.