pgsql: Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner
Date: 2023-09-13 04:28:31
Message-ID: E1qgHUM-003aGu-TH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner option.

Reported-by: Jeff Davis
Author: Hou Zhijie
Reviewed-by: Amit Kapila
Backpatch-through: 16
Discussion: http://postgr.es/m/17b62714fd115bd1899afd922954540a5c6a0467.camel@j-davis.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a81e5516fa4bc53e332cb35eefe231147c0e1749

Modified Files
--------------
src/backend/commands/subscriptioncmds.c | 7 +++++
src/test/regress/expected/subscription.out | 4 ++-
src/test/regress/sql/subscription.sql | 2 ++
src/test/subscription/t/033_run_as_table_owner.pl | 33 ++++++++++++++++++++++-
4 files changed, 44 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2023-09-13 23:28:11 pgsql: Fix incorrect logic in plan dependency recording
Previous Message Thomas Munro 2023-09-13 03:10:42 pgsql: Fix exception safety bug in typcache.c.