($INBOX_DIR/description missing)  
help / color / mirror / Atom feed
From: Antonin Houska <[email protected]>
To: [email protected]
Subject: Incorrect comment on pg_shadow view
Date: Fri, 18 Oct 2024 13:50:47 +0200
Message-ID: <31926.1729252247@antos> (raw)

Attached is a proposal to fix a comment in pg_authid.h. pg_shadow is not (and
obviously should not be) accessible by public:

postgres=# SELECT relname, relacl FROM pg_class WHERE relname IN ('pg_shadow', 'pg_group');
  relname  |                  relacl                  
-----------+------------------------------------------
 pg_shadow | {postgres=arwdDxtm/postgres}
 pg_group  | {postgres=arwdDxtm/postgres,=r/postgres}
(2 rows)


-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com



Attachments:

  [text/x-diff] pg_authid_comment.diff (521B, ../31926.1729252247@antos/2-pg_authid_comment.diff)
  download | inline diff:
diff --git a/src/include/catalog/pg_authid.h b/src/include/catalog/pg_authid.h
index e846d75731..b0dbdf2dd2 100644
--- a/src/include/catalog/pg_authid.h
+++ b/src/include/catalog/pg_authid.h
@@ -3,7 +3,7 @@
  * pg_authid.h
  *	  definition of the "authorization identifier" system catalog (pg_authid)
  *
- *	  pg_shadow and pg_group are now publicly accessible views on pg_authid.
+ *	  pg_shadow and pg_group are now views on pg_authid.
  *
  *
  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group


view thread (2+ messages)

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: [email protected]
  Cc: [email protected]
  Subject: Re: Incorrect comment on pg_shadow view
  In-Reply-To: <31926.1729252247@antos>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox