From 941fc5a716cb497eaa79048c1696442fc2180cd5 Mon Sep 17 00:00:00 2001 From: Shlok Kyal Date: Wed, 10 Dec 2025 16:28:42 +0530 Subject: [PATCH v1] Improve comment in function GetPublicationRelations This function gets the list of relations associated with the publication but the comment says the opposite. This patch fixes it. --- 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 be5ef5e4c0e..7aa3f179924 100644 --- a/src/backend/catalog/pg_publication.c +++ b/src/backend/catalog/pg_publication.c @@ -788,7 +788,7 @@ GetPublicationRelations(Oid pubid, PublicationPartOpt pub_partopt) SysScanDesc scan; HeapTuple tup; - /* Find all publications associated with the relation. */ + /* Find all relations associated with the publication. */ pubrelsrel = table_open(PublicationRelRelationId, AccessShareLock); ScanKeyInit(&scankey, -- 2.34.1