Re: Call EndCopyFrom() after initial table sync in logical replication - Mailing list pgsql-hackers

From Chao Li
Subject Re: Call EndCopyFrom() after initial table sync in logical replication
Date
Msg-id A81579BC-7A2B-45ED-8712-99DA30067E2A@gmail.com
Whole thread
In response to Re: Call EndCopyFrom() after initial table sync in logical replication  ("cca5507" <cca5507@qq.com>)
List pgsql-hackers

> On May 8, 2026, at 10:34, cca5507 <cca5507@qq.com> wrote:
>
> Hi,
>
> Maybe we want to add "free_parsestate(pstate);" after the "EndCopyFrom()" as well?
>

I agree. While here, looks like attnamelist can also be freed.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/







pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication
Next
From: John Naylor
Date:
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available