From 70b4d9043931a5c4cdbf7bb08b7e3cb6e8beee1b Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 10 Dec 2025 15:33:29 +0200 Subject: [PATCH] Fix comment in GetPublicationRelations This function gets the list of relations associated with the publication but the comment said the opposite. Author: Shlok Kyal Discussion: https://www.postgresql.org/message-id/CANhcyEV3C_CGBeDtjvKjALDJDMH-Uuc9BWfSd=eck8SCXnE=fQ@mail.gmail.com --- 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.39.5