Re: Call EndCopyFrom() after initial table sync in logical replication

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: cca5507 <cca5507(at)qq(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call EndCopyFrom() after initial table sync in logical replication
Date: 2026-05-08 03:32:50
Message-ID: A81579BC-7A2B-45ED-8712-99DA30067E2A@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On May 8, 2026, at 10:34, cca5507 <cca5507(at)qq(dot)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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2026-05-08 03:48:55 Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Previous Message Dilip Kumar 2026-05-08 02:58:17 Re: Proposal: Conflict log history table for Logical Replication