Hello, while looking another bug, I found that standby cannot
shutdown after DROP SUBSCRIPTION.
standby=# CREATE SUBSCRPTION sub1 ...
standby=# DROP SUBSCRIPTION sub1;
Ctrl-C to the standby fails to work. ApplyLauncherMain is waiting
The culprit is DropSbuscription. It acquires
LogicalRepLauncherLock but never releases.
The attached patch fixes it. Most part of the fucntion is now
enclosed by PG_TRY-CATCH since some functions can throw
NTT Open Source Software Center
pgsql-hackers by date
|Next:||From: Kyotaro HORIGUCHI||Date: 2017-02-01 08:37:48|
|Subject: Re: IF (NOT) EXISTS in psql-completion|
|Previous:||From: Nikhil Sontakke||Date: 2017-02-01 08:29:25|
|Subject: Re: Speedup twophase transactions|