Re: GetRelationPublicationActions. - Remove unreachable code

2022-02-09 Thread Peter Smith
On Thu, Feb 10, 2022 at 11:34 AM Tom Lane wrote: > > Peter Smith writes: > > There appears to be some unreachable code in the relcache function > > GetRelationPublicationActions. > > When the 'relation->rd_pubactions' is not NULL then the function > > unconditionally returns early (near the top).

Re: GetRelationPublicationActions. - Remove unreachable code

2022-02-09 Thread Tom Lane
Peter Smith writes: > There appears to be some unreachable code in the relcache function > GetRelationPublicationActions. > When the 'relation->rd_pubactions' is not NULL then the function > unconditionally returns early (near the top). > Therefore, the following code (near the bottom) seems to ha

GetRelationPublicationActions. - Remove unreachable code

2022-02-09 Thread Peter Smith
Hi hackers. There appears to be some unreachable code in the relcache function GetRelationPublicationActions. When the 'relation->rd_pubactions' is not NULL then the function unconditionally returns early (near the top). Therefore, the following code (near the bottom) seems to have no purpose be