From: Peter Eisentraut Date: Sat, 11 Apr 2020 07:44:14 +0000 (+0200) Subject: Fix relcache reference leak X-Git-Tag: REL_13_BETA1~269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a1d0c9925fbda9ec434061dee74b1b5d9a16038;p=thirdparty%2Fpostgresql.git Fix relcache reference leak Introduced by 83fd4532a72179c370e318075a10e0e2aa832024 --- 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; }