pgsql: Nail pg_parameter_acl in relcache.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Nail pg_parameter_acl in relcache.
Date: 2026-06-23 19:20:35
Message-ID: E1wc6fj-001Zd1-2F@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>
Reviewed-by: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2026-06-23 23:59:57 pgsql: Re-index ModifyTable FDW arrays when pruning result relations
Previous Message Tom Lane 2026-06-23 19:06:42 pgsql: Fix incorrect declarations of variadic pg_get_*_ddl() functions.