Re: Call EndCopyFrom() after initial table sync in logical replication
Chao Li <li.evan.chao@gmail.com>
From: Chao Li <li.evan.chao@gmail.com>
To: cca5507 <cca5507@qq.com>
Cc: Fujii Masao <masao.fujii@gmail.com>,
Shinya Kato <shinya11.kato@gmail.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-05-08T03:32:50Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix stale COPY progress during logical replication table sync
- e3c4e374648e 14 (unreleased) landed
- b5f7e7569c09 15 (unreleased) landed
- d140237dab87 16 (unreleased) landed
- f2acab53482c 17 (unreleased) landed
- d9cd9b4d7e14 18 (unreleased) landed
- 422e54e3092a 19 (unreleased) landed
-
Use stack-allocated StringInfoDatas, where possible
- a63bbc811d41 19 (unreleased) cited
> 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/