Re: Improve comment in function GetPublicationRelations

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improve comment in function GetPublicationRelations
Date: 2025-12-10 13:35:18
Message-ID: 59a9dca1-99cf-4220-9e49-5f826836accc@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/12/2025 13:15, Shlok Kyal wrote:
> 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

Fixed, thanks

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message tushar 2025-12-10 13:38:21 Re: Non-text mode for pg_dumpall
Previous Message Chao Li 2025-12-10 13:34:26 Re: Improve pg_sync_replication_slots() to wait for primary to advance