This function gets the list of relations associated with the
publication but the comment said the opposite.
Author: Shlok Kyal <
[email protected]>
Discussion: https://www.postgresql.org/message-id/CANhcyEV3C_CGBeDtjvKjALDJDMH-Uuc9BWfSd=eck8SCXnE=fQ@mail.gmail.com
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,