postgresql/src/backend/catalog
Tom Lane 3590680b85 Fix incorrect permissions on pg_subscription.
The documented intent is for all columns except subconninfo to be
publicly readable.  However, this has been overlooked twice.
subsynccommit has never been readable since it was introduced,
nor has the oid column (which is important for joining).

Given the lack of previous complaints, it's not clear that it's
worth doing anything about this in the back branches.  But there's
still time to fix it inexpensively for v14.

Per report from Israel Barth (via Euler Taveira).

Patch by Euler Taveira, possibly-vain comment updates by me.

Discussion: https://postgr.es/m/b8f7c17c-0041-46b6-acfe-2d1f5a985ab4@www.fastmail.com
2021-06-03 14:54:06 -04:00
..
.gitignore Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
aclchk.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
catalog.c Log when GetNewOidWithIndex() fails to find unused OID many times. 2021-03-24 10:36:56 +09:00
Catalog.pm Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
dependency.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
genbki.pl Reduce the range of OIDs reserved for genbki.pl. 2021-05-27 15:55:08 -04:00
heap.c Rethink definition of pg_attribute.attcompression. 2021-05-27 13:24:27 -04:00
index.c Re-order pg_attribute columns to eliminate some padding space. 2021-05-23 12:12:09 -04:00
indexing.c Fix comment in indexing.c 2021-03-17 18:07:00 +09:00
information_schema.sql Add DISTINCT to information schema usage views 2021-04-21 11:54:47 +02:00
Makefile Split function definitions out of system_views.sql into a new file. 2021-04-16 18:37:02 -04:00
namespace.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
objectaccess.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
objectaddress.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
partition.c ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY 2021-03-25 18:00:28 -03:00
pg_aggregate.c SQL-standard function body 2021-04-07 21:47:55 +02:00
pg_cast.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_collation.c Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
pg_constraint.c Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
pg_conversion.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_db_role_setting.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_depend.c Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
pg_enum.c Rename "enum blacklist" to "uncommitted enums". 2021-01-05 12:38:48 +13:00
pg_inherits.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
pg_largeobject.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_namespace.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_operator.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_proc.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
pg_publication.c Add macro RelationIsPermanent() to report relation permanence 2021-03-22 20:23:52 -04:00
pg_range.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_shdepend.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
pg_subscription.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
pg_type.c Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
sql_feature_packages.txt Cleanup in SQL features files 2020-03-28 08:46:18 +01:00
sql_features.txt Fix use of cursor sensitivity terminology 2021-04-07 08:05:55 +02:00
storage.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
system_functions.sql Double-space commands in system_constraints.sql/system_functions.sql. 2021-05-12 18:41:39 -04:00
system_views.sql Fix incorrect permissions on pg_subscription. 2021-06-03 14:54:06 -04:00
toasting.c Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00