mirror of
https://github.com/postgres/postgres.git
synced 2025-12-13 14:22:43 +03:00
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
This commit is contained in:
@@ -788,7 +788,7 @@ GetPublicationRelations(Oid pubid, PublicationPartOpt pub_partopt)
|
|||||||
SysScanDesc scan;
|
SysScanDesc scan;
|
||||||
HeapTuple tup;
|
HeapTuple tup;
|
||||||
|
|
||||||
/* Find all publications associated with the relation. */
|
/* Find all relations associated with the publication. */
|
||||||
pubrelsrel = table_open(PublicationRelRelationId, AccessShareLock);
|
pubrelsrel = table_open(PublicationRelRelationId, AccessShareLock);
|
||||||
|
|
||||||
ScanKeyInit(&scankey,
|
ScanKeyInit(&scankey,
|
||||||
|
|||||||
Reference in New Issue
Block a user