Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x2C45-005dah-2D for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Sep 2026 18:21:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x2C44-001zMd-1C for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Sep 2026 18:21:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x2C44-001zMV-0D for pgsql-hackers@lists.postgresql.org; Thu, 03 Sep 2026 18:21:32 +0000 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x2C41-00000002m0j-3OpS for pgsql-hackers@postgresql.org; Thu, 03 Sep 2026 18:21:31 +0000 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-90cdffe8e3eso1936586d6.2 for ; Thu, 03 Sep 2026 11:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788459688; x=1789064488; darn=postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=soVK83hnFNZ9U9ZB7yGZETEIBl/hObP8cF0r1Osmeas=; b=GZhvChzX70mhOFUM1bFiHLliCQPvfQWeb8lk6EXmd7W70sX8mEJMFmP3vW12a2867q SzVev9ePD+PLZ8c+MNQq7iAG/LQoS4/KJx3bBYwFnrT76wipnkfx+Wf9eSHRfxJD1iH+ uto+weXz51DCpqTh/OVRyKoRIO+qUb4WDY+BuCrmswsThenn3h9MJKxoUZKDbsmZBONc xOeVSB9kphSKVMXlNiz1nYn14+0/sQuLuN8WeVoJOZ63QgowRyPBz51onzUIUFKEMTOV Vdn1LgR3q+RKwD17lqrlU8vflA6bM+wIMqy51zI3mjszX33k9yXYDTdAbMz176YeZQ/o PWYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788459688; x=1789064488; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=soVK83hnFNZ9U9ZB7yGZETEIBl/hObP8cF0r1Osmeas=; b=fXQ1MqMEbcbO674zuRUJs1ZKzufO3YMFD28B3DJKeRmXQF8z/ujjSR/h8uc6Fez8rH 74qpkKBfmbCfMDDsUo3laGfrpdyGpDZX77Sz1WjTE+wXPdrSf4rh+TGQv6NKo29eeIus R7SeTuWZH2sijnF7LocP1loSOiy29d+VIEuU2zR6ORtlSw2DvwmckIKCG3dnpUWdsCmV EVmpI+ilFRY9hb4MwGE0HB4rqxsRYVEBVyw6RWIJ+zF1yE5xILzYcg//NvYqGy9HIFQX TbyWg4iyv9Ktv2e5ueTmddr5zg4omx2UWe7l+NViGGKtF6PNKf36ziTUTSCBf7XTIMgi gStw== X-Forwarded-Encrypted: i=1; AKwUvBzwXeOa255p+TDPMyCoMHzfFBvpyA0HQh3R5mlMqI2n/RYurhzGIj0Gmg+FxDPCO1JNWmyVTabqVDLEkK9M@postgresql.org X-Gm-Message-State: AFuF++nZyR01bCPgei3swcqQjr3JNgrVrUGWuf5q2K0wKBivq3JhgSzk L4/SiMwYxs+fguiM3KuXiWNJAy4Dcm5yM4+IvcZTc+Jppr3BRQZCEL95 X-Gm-Gg: AYBFou37YagGJe8VnfM54D874cvH8TrzBBfuO7BbHAmIGyMGuQ74Iwc1sLjoO9wy6MN g8LNtrJwnBbS1anQ0TbHVxvNhc/oU94ZVKougJkCQfoWjkNIWUcarX7pbmQ51YmzDxFBTZkwReo KQ1YnCcRfLP4+fkzzPF1NJqCVPry2RJBk7CzxKMqyPZ0s5d5TtbzSAAGNaWWFIR9LHyWQ6g8StN Lra2Yi/gpAdcvjgIS7KR4RXFE9ECLMMQBlfhuv8CWzACmLiSNhbyjy8yCtTo7T+2TLaW7yPzv9b 6ZE/UQpPRhBtgInIZawu8+Wj62tWJZX1gkRqV7EZFgKQv1MAqQ8gcxboBJCzFvrR7VXC1xrZomx +D2akQ23jDmuf3zuJWklrih1iY600l+FGengY9Rcz8mkGaMdGJwxspyikM+3M+8Poz6ygCBWcPb CWYvfdj3yuyArqrVngd2xNfVu0Cyn3hfsUojODR2ioAyiihL3IzAFUctJlNijP4RyEkbQsFRCFC iE6InS4b+BAAeyfDkv8CrnBBZIt2mOSrZMNCStNgh7DOGsqhJa0cA18Sw3j9kXpxCMHjrHtyD6r nww3/O/AQH6Bxhk= X-Received: by 2002:a05:6214:6111:b0:910:31f7:3bd7 with SMTP id 6a1803df08f44-9103f0d1decmr10691386d6.29.1788459687697; Thu, 03 Sep 2026 11:21:27 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-91040673ce0sm419066d6.25.2026.09.03.11.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2026 11:21:26 -0700 (PDT) Date: Thu, 3 Sep 2026 13:21:24 -0500 From: Nathan Bossart To: Ayoub Kazar Cc: KAZAR Ayoub , Andres Freund , Pg Hackers , Neil Conway , Manni Wood , Andrew Dunstan , Shinya Kato , Mark Wong , Nazir Bilal Yavuz Subject: Re: Speed up COPY TO text/CSV parsing using SIMD Message-ID: References: <777bc2f5-957e-4c8b-9f63-1d54e1f1bc3d@data-bene.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <777bc2f5-957e-4c8b-9f63-1d54e1f1bc3d@data-bene.io> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 03, 2026 at 06:01:15PM +0200, Ayoub Kazar wrote: > After looking into more test cases, the opportunity here isn't as big as it > was for COPY FROM in general cases, yet i have seen good performance gains > show up in most cases, and avoiding regressions elsewhere adds some > complexity, there's also the possibility to include the case of TOASTed > attributes here ; which i think is a win. Yeah, when I looked into this one a while ago, I couldn't find a good way to avoid regressions. I wonder if we'll need to make some architectural adjustments before trying again. -- nathan