diff options
| author | Heikki Linnakangas | 2025-12-10 13:33:29 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2025-12-10 13:33:29 +0000 |
| commit | 70b4d9043931a5c4cdbf7bb08b7e3cb6e8beee1b (patch) | |
| tree | 81689ad2888a3fe387d8424273e6e1b4ae11eb13 /src | |
| parent | fa44b8b7fbb7eb0f13546aa13976f9919a4ca201 (diff) | |
Fix comment in GetPublicationRelations
This function gets the list of relations associated with the
publication but the comment said the opposite.
Author: Shlok Kyal <shlok.kyal.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/CANhcyEV3C_CGBeDtjvKjALDJDMH-Uuc9BWfSd=eck8SCXnE=fQ@mail.gmail.com
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend/catalog/pg_publication.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
