On Wed, Feb 24, 2021 at 12:47 PM Masahiko Sawada <sawada.m...@gmail.com> wrote:
>
> On Fri, Feb 12, 2021 at 2:49 PM Amit Kapila <amit.kapil...@gmail.com> wrote:
> >
> >
> > Thanks, I have pushed the fix and the latest run of 'thorntail' has passed.
>
> I got the following WARNING message from a logical replication apply worker:
>
> WARNING:  relcache reference leak: relation "pg_subscription_rel" not closed
>
> The cause of this is that GetSubscriptionRelState() doesn't close the
> relation in SUBREL_STATE_UNKNOWN case. It seems that commit ce0fdbfe9
> forgot to close it. I've attached the patch to fix this issue.
>

Thanks for the report and fix. Your patch LGTM. I'll push it tomorrow.

-- 
With Regards,
Amit Kapila.


Reply via email to