Re: Make COPY format extendable: Extract COPY TO format implementations

From: Sutou Kouhei <kou(at)clear-code(dot)com>
To: sawada(dot)mshk(at)gmail(dot)com
Cc: tomas(at)vondra(dot)me, andres(at)anarazel(dot)de, michael(at)paquier(dot)xyz, david(dot)g(dot)johnston(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, zhjwpku(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Date: 2026-03-27 01:36:40
Message-ID: 20260327.103640.1195140797832123502.kou@clear-code.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

In <CAD21AoCLxUhQ0uBjDKXvCEtJBCfF13Ru_7u-Qrrsu+0PPUqcPQ(at)mail(dot)gmail(dot)com>
"Re: Make COPY format extendable: Extract COPY TO format implementations" on Thu, 18 Dec 2025 15:43:07 -0800,
Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:

> Looking at these results, it seems that 0001-from-binary cases and
> 0006-to-binary cases are slower throughout the six results?

Good point. I didn't notice them. But I feel that it's not
related to the patch set. Because 0001 doesn't change COPY
FROM related code. 0001 just changes COPY TO related
code. And 0006 just adds tests. 0006 doesn't change
implementations.

BTW, how to proceed this proposal? It seems that we can't
proceed this proposal without PostgreSQL committers'
attentions but it seems that it's difficult.

Thanks,
--
kou

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lukas Fittl 2026-03-27 01:50:20 Re: Refactor query normalization into core query jumbling
Previous Message Peter Smith 2026-03-27 01:36:14 Re: Skipping schema changes in publication