pgsql: Add TAP test for GUC settings passed via CONNECTION in logical r - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Add TAP test for GUC settings passed via CONNECTION in logical r
Date
Msg-id E1vcxIF-004lKZ-2O@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add TAP test for GUC settings passed via CONNECTION in logical replication.

Commit d926462d819 restored the behavior of passing GUC settings from
the CONNECTION string to the publisher's walsender, allowing per-connection
configuration.

This commit adds a TAP test to verify that behavior works correctly.

Since commit d926462d819 was recently applied and backpatched to v15,
this follow-up commit is also backpatched accordingly.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Chao Li <lic@highgo.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Japin Li <japinli@hotmail.com>
Discussion: https://postgr.es/m/CAHGQGwGYV+-abbKwdrM2UHUe-JYOFWmsrs6=QicyJO-j+-Widw@mail.gmail.com
Backpatch-through: 15

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6ec5968151252b6c01f1150f668fa9331db1313e

Modified Files
--------------
src/test/subscription/t/001_rep_changes.pl | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Add TAP test for GUC settings passed via CONNECTION in logical r
Next
From: Fujii Masao
Date:
Subject: pgsql: Honor GUC settings specified in CREATE SUBSCRIPTION CONNECTION.