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

Commit8a4f952

Browse files
author
Amit Kapila
committed
Fix relcache reference leak introduced byce0fdbf.
Author: Sawada MasahikoReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/CAD21AoA7ZEfsOXQ9HQqMv3QYGsEm2H5Wk5ic5S=mvzDf-3a3SA@mail.gmail.com
1 parentbcf2667 commit8a4f952

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/catalog/pg_subscription.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ GetSubscriptionRelState(Oid subid, Oid relid, XLogRecPtr *sublsn)
353353

354354
if (!HeapTupleIsValid(tup))
355355
{
356+
table_close(rel,AccessShareLock);
356357
*sublsn=InvalidXLogRecPtr;
357358
returnSUBREL_STATE_UNKNOWN;
358359
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp