pgsql: Nail pg_parameter_acl in relcache. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Nail pg_parameter_acl in relcache.
Date
Msg-id E1wc6fj-001Zd1-2F@gemulon.postgresql.org
Whole thread
List pgsql-committers
Nail pg_parameter_acl in relcache.

Previously, a parameter specified in the startup packet for a physical
replication connection could encounter an error trying to perform an
ACL check for the setting.

Problem was introduced in a0ffa885e4, but no reasonable back-patchable
solution was found, so fixing only in master.

Bumps catversion.

Discussion: https://postgr.es/m/d8f8e11f06d692fff89e6be0f22732d30cf695a0.camel%40j-davis.com
Reviewed-by: John Naylor <johncnaylorls@gmail.com>
Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4cc02b80774ecdc4cf2a2d5df09c07df36d68ca5

Modified Files
--------------
src/backend/utils/cache/catcache.c     |  2 ++
src/backend/utils/cache/relcache.c     | 19 ++++++++++++++-----
src/include/catalog/catversion.h       |  2 +-
src/include/catalog/pg_parameter_acl.h |  2 +-
4 files changed, 18 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: psql: Tighten heuristics for BEGIN/END within CREATE SCHEMA.
Next
From: Amit Langote
Date:
Subject: pgsql: Re-index ModifyTable FDW arrays when pruning result relations