pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: hirose shigeo(廣瀬 繁雄 □SWC○ACT) <shigeo.hirose@toshiba.co.jp>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: How to control pg_catalog results for each users?
Date: Mon, 30 Jan 2023 00:48:51 -0500
Message-ID: <410287.1675057731@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwZ12eB=6sL3crLqA541CUBo3-UM6w4TkbEOcdFnY3gYXg@mail.gmail.com>
References: <32b68caa-8731-8952-bad5-462566760809@swc.toshiba.co.jp>
	<CAKFQuwZ12eB=6sL3crLqA541CUBo3-UM6w4TkbEOcdFnY3gYXg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Sunday, January 29, 2023, hirose shigeo(廣瀬 繁雄 □SWC○ACT) <
> shigeo.hirose@toshiba.co.jp> wrote:
>> Has there been any discussion or development on controlling this system
>> catalog information on a per-user

> I found this one:
> https://www.postgresql.org/message-id/flat/20160107032927.GT3685%40tamriel.snowman.net#6d9e59a0d052e...

There have been a ton of discussions around this area over the years.
The short answer is that if you think you need to prevent people
from seeing the contents of the system catalogs, Postgres is not
the database for you.  I don't really foresee that changing, because
it would break at least as many use-cases as it would enable.  The
thread David referenced only talks about side-effects on pg_dump,
but there are many other applications that would be just as broken
if we restricted this.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <410287.1675057731@sss.pgh.pa.us>
Permalink:  ../410287.1675057731@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/410287.1675057731@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, shigeo.hirose@toshiba.co.jp
  Subject: Re: How to control pg_catalog results for each users?
  In-Reply-To: <410287.1675057731@sss.pgh.pa.us>
  References: <32b68caa-8731-8952-bad5-462566760809@swc.toshiba.co.jp> <CAKFQuwZ12eB=6sL3crLqA541CUBo3-UM6w4TkbEOcdFnY3gYXg@mail.gmail.com> <410287.1675057731@sss.pgh.pa.us>

* 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