pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Greg Burd <greg@burd.me>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: KAZAR Ayoub <ma_kazar@esi.dz>
Cc: Neil Conway <neil.conway@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Shinya Kato <shinya11.kato@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD
Date: Tue, 8 Sep 2026 10:36:32 -0500
Message-ID: <aqArgOhtHfM2_iJe@nathan> (raw)
In-Reply-To: <9434f7bb-5865-4828-9f23-1dd30e50aaac@app.fastmail.com>
References: <b26a1cf8-335d-4054-90ad-d94457c45947@app.fastmail.com>
	<abRKUiInG6Gu728Q@nathan>
	<apWOr1kgVSqweBnU@nathan>
	<CAN55FZ1utgaKb1DbW7tr+2=s4Hm1yiCEeNDY9m=qP_M_drafCg@mail.gmail.com>
	<78e736c8-7f4e-46c2-9fcf-a6839e393d64@app.fastmail.com>
	<CAN55FZ0UJg+9wcyTCUG656c9DKCNvTGVuuVe4EMMVCHPwGS4aQ@mail.gmail.com>
	<apcmTvBmA27RoyYL@nathan>
	<CAN55FZ1qFb4Yo3-MWeQfGQnu1_Ksx4xcFC2m3hyw8a--+eHQYQ@mail.gmail.com>
	<CAN55FZ3U2waD=5ZuVmju-HtZ4cO4onxHN4jXskk8Y11M6o3NOQ@mail.gmail.com>
	<9434f7bb-5865-4828-9f23-1dd30e50aaac@app.fastmail.com>

On Tue, Sep 08, 2026 at 11:08:36AM -0400, Greg Burd wrote:
> One thing I'd like to see land with the fix: a test. I'll see if I can
> knock one out if you don't first.

I'm open to adding a test, but I'm not going to hold up the patch for it.
I've been reluctant to add too many tests for corner cases here because I'm
concerned about portability and fragility.  But I will admit that I haven't
tried too hard...

-- 
nathan





view thread (178+ messages)  latest in thread

Message-ID: <aqArgOhtHfM2_iJe@nathan>
Permalink:  ../aqArgOhtHfM2_iJe@nathan/
Also on:    postgresql.org/message-id/aqArgOhtHfM2_iJe@nathan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, greg@burd.me, byavuz81@gmail.com, ma_kazar@esi.dz, neil.conway@gmail.com, andrew@dunslane.net, shinya11.kato@gmail.com
  Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD
  In-Reply-To: <aqArgOhtHfM2_iJe@nathan>
  References: <b26a1cf8-335d-4054-90ad-d94457c45947@app.fastmail.com> <abRKUiInG6Gu728Q@nathan> <apWOr1kgVSqweBnU@nathan> <CAN55FZ1utgaKb1DbW7tr+2=s4Hm1yiCEeNDY9m=qP_M_drafCg@mail.gmail.com> <78e736c8-7f4e-46c2-9fcf-a6839e393d64@app.fastmail.com> <CAN55FZ0UJg+9wcyTCUG656c9DKCNvTGVuuVe4EMMVCHPwGS4aQ@mail.gmail.com> <apcmTvBmA27RoyYL@nathan> <CAN55FZ1qFb4Yo3-MWeQfGQnu1_Ksx4xcFC2m3hyw8a--+eHQYQ@mail.gmail.com> <CAN55FZ3U2waD=5ZuVmju-HtZ4cO4onxHN4jXskk8Y11M6o3NOQ@mail.gmail.com> <9434f7bb-5865-4828-9f23-1dd30e50aaac@app.fastmail.com> <aqArgOhtHfM2_iJe@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox