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

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

From
Amit Kapila
Date:
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
------
master

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

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(-)