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

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

Reply via email to