Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1cc4e6

Browse files
author
Amit Kapila
committed
Restart the apply worker if the 'password_required' option is changed.
The apply worker is restarted if any subscription option that affects theremote connection was changed. In commitc3afe8c, we added the option'password_required' which can affect the remote connection, so we shouldrestart the worker if it was changed.Author: Amit KapilaReviewed-by: Robert HaasDiscussion:https://postgr.es/m/CAA4eK1+z9UDFEynXLsWeMMuUZc1iQkRwj2HNDtxUHTPo-u1F4A@mail.gmail.comDiscussion:https://postgr.es/m/9DFC88D3-1300-4DE8-ACBC-4CEF84399A53@enterprisedb.com
1 parent7d3d72b commitc1cc4e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/replication/logical/worker.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3934,6 +3934,7 @@ maybe_reread_subscription(void)
39343934
strcmp(newsub->slotname,MySubscription->slotname)!=0||
39353935
newsub->binary!=MySubscription->binary||
39363936
newsub->stream!=MySubscription->stream||
3937+
newsub->passwordrequired!=MySubscription->passwordrequired||
39373938
strcmp(newsub->origin,MySubscription->origin)!=0||
39383939
newsub->owner!=MySubscription->owner||
39393940
!equal(newsub->publications,MySubscription->publications))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp