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

Commita99448a

Browse files
committed
Don't wake up logical replication launcher unnecessarily
In CREATE SUBSCRIPTION, only wake up the launcher when the subscriptionis enabled.Author: Fujii Masao <masao.fujii@gmail.com>
1 parent54affb4 commita99448a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/commands/subscriptioncmds.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,8 @@ CreateSubscription(CreateSubscriptionStmt *stmt, bool isTopLevel)
452452

453453
heap_close(rel,RowExclusiveLock);
454454

455-
ApplyLauncherWakeupAtCommit();
455+
if (enabled)
456+
ApplyLauncherWakeupAtCommit();
456457

457458
ObjectAddressSet(myself,SubscriptionRelationId,subid);
458459

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp