Content-Length: 254636 | pFad | http://github.com/postgrespro/postgres/commit/dc82f5a6406dfef21ae1668b1c69a32c8a68c670

90 Be sure to release the lock on failure to launch logical replication … · postgrespro/postgres@dc82f5a · GitHub
Skip to content

Commit dc82f5a

Browse files
committed
Be sure to release the lock on failure to launch logical replication worker.
Petr Jelinek
1 parent 73293eb commit dc82f5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/replication/logical/launcher.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ logicalrep_worker_launch(Oid dbid, Oid subid, const char *subname, Oid userid)
261261
/* Bail if not found */
262262
if (worker == NULL)
263263
{
264+
LWLockRelease(LogicalRepWorkerLock);
264265
ereport(WARNING,
265266
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
266267
errmsg("out of logical replication workers slots"),

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/dc82f5a6406dfef21ae1668b1c69a32c8a68c670

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy