From: Heikki Linnakangas Date: Wed, 10 Dec 2025 13:33:29 +0000 (+0200) Subject: Fix comment in GetPublicationRelations X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=70b4d9043931a5c4cdbf7bb08b7e3cb6e8beee1b;p=postgresql.git 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 --- 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,