pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Christophe Pettus <xof@thebuild.com>
To: Basha <Basha@maxcontact.com>
Cc: PostgreSQL Bug List <pgsql-bugs@lists.postgresql.org>
Subject: Re: [EXT]: Re: BUG #18604: Regression in PostgreSQL 16.4: pg_dump Prevents Essential System Table Modifications
Date: Fri, 6 Sep 2024 18:48:57 -0700
Message-ID: <01CF2C94-D153-4687-B2EF-EF4B4B1890DF@thebuild.com> (raw )
In-Reply-To: <GV1P194MB2356E46170B9C91E45E6987FD89F2@GV1P194MB2356.EURP194.PROD.OUTLOOK.COM >
References: <18604-04d64b68e981ced6@postgresql.org >
<3B462E2E-88B6-43B9-943F-90E883D33357@thebuild.com >
<GV1P194MB2356E0520E83B40CE57D4D2FD89E2@GV1P194MB2356.EURP194.PROD.OUTLOOK.COM >
<183A6734-06B2-48E9-A5C9-235EF87B0DFB@thebuild.com >
<GV1P194MB235610E122081099FBC480ECD89E2@GV1P194MB2356.EURP194.PROD.OUTLOOK.COM >
<6860E1BC-DA5A-4576-9FB6-35ED31E6F017@thebuild.com >
<GV1P194MB2356082D55A66B1F659F1AA5D89F2@GV1P194MB2356.EURP194.PROD.OUTLOOK.COM >
<73AD2F56-1009-49C7-8752-39C45325A9BB@thebuild.com >
<GV1P194MB2356E46170B9C91E45E6987FD89F2@GV1P194MB2356.EURP194.PROD.OUTLOOK.COM >
> 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 think it'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 would have to be the same as it is now (or lots of things that work now would break), so introducing a new role privilege of "can see all databases" wouldn't be a great way forward.
view thread (30+ messages) latest in thread
Message-ID: <01CF2C94-D153-4687-B2EF-EF4B4B1890DF@thebuild.com>
Permalink: ../01CF2C94-D153-4687-B2EF-EF4B4B1890DF@thebuild.com/
Also on: postgresql.org/message-id/01CF2C94-D153-4687-B2EF-EF4B4B1890DF@thebuild.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: xof@thebuild.com, Basha@maxcontact.com, pgsql-bugs@lists.postgresql.org
Subject: Re: [EXT]: Re: BUG #18604: Regression in PostgreSQL 16.4: pg_dump Prevents Essential System Table Modifications
In-Reply-To: <01CF2C94-D153-4687-B2EF-EF4B4B1890DF@thebuild.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox