Improve comment in function GetPublicationRelations - Mailing list pgsql-hackers

From Shlok Kyal
Subject Improve comment in function GetPublicationRelations
Date
Msg-id CANhcyEV3C_CGBeDtjvKjALDJDMH-Uuc9BWfSd=eck8SCXnE=fQ@mail.gmail.com
Whole thread Raw
Responses Re: Improve comment in function GetPublicationRelations
Re: Improve comment in function GetPublicationRelations
List pgsql-hackers
Hi,

While working on the thread [1], we found that the comment in the
function GetPublicationRelations is not correct. This function gets
the list of relations associated with the publication, but the comment
says the opposite :
/* Find all publications associated with the relation. */

Attached a patch to fix it.

[1]: https://www.postgresql.org/message-id/CANhcyEV_EVi5cgJ6WPvmeVAqjCS7Of%2BVAWuRHZtsVf8PQb_z7g%40mail.gmail.com

Thanks,
Shlok Kyal

Attachment

pgsql-hackers by date:

Previous
From: Nitin Jadhav
Date:
Subject: Re: Fix crash during recovery when redo segment is missing
Next
From: Amit Langote
Date:
Subject: Re: pg_plan_advice