postgres.git / summary / log / commit / refs
commit 5a1d0c9925fbda9ec434061dee74b1b5d9a16038
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Sat Apr 11 07:44:14 2020 +0000
First released in: 13.0
Fix relcache reference leak
Introduced by 83fd4532a72179c370e318075a10e0e2aa832024
src/backend/catalog/pg_publication.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/catalog/pg_publication.c b/src/backend/catalog/pg_publication.c
index 68f6887b383..09946be788d 100644
--- a/src/backend/catalog/pg_publication.c
+++ b/src/backend/catalog/pg_publication.c
@@ -398,9 +398,9 @@ GetAllTablesPublicationRelations(bool pubviaroot)
}
table_endscan(scan);
- table_close(classRel, AccessShareLock);
}
+ table_close(classRel, AccessShareLock);
return result;
}
[parent: 8a47b775a16f]