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 1w16Nv-002YoY-02 for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 17:33:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w16Nt-005c61-18 for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Mar 2026 17:33:13 +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 1w16Nt-005c5t-0E for pgsql-hackers@lists.postgresql.org; Fri, 13 Mar 2026 17:33:13 +0000 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w16Nq-000000000HJ-3VdS for pgsql-hackers@postgresql.org; Fri, 13 Mar 2026 17:33:13 +0000 Received: by mail-ot1-x335.google.com with SMTP id 46e09a7af769-7d73be007a1so1859287a34.0 for ; Fri, 13 Mar 2026 10:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773423189; x=1774027989; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=lcdfIqEvtOdc+CdDcJ0gdN/Nrln/jRmIN/u8IJ5772o=; b=ciPOsGhboJLSqoJOt8ilELutVf0xNP0Dx7Wwe0WFZh5mskbbY64+XjRKpJPOllRlr/ bGX79xSem003WMzNevQkOXZ4YWRSexkI5IHkWl68Ib/a8cldaN+NBGiisWUoIH3mAwgv MJn42mAL4eOTBsBmVBmTjjmf+m+uq3j2cXMxRa4RF71RkaR2YtN1jgnv7Q8aQXlhXLsm 9o2HptFZEqnDKdw0z0SsjgRcSVSAP+zbvqoTKJEAmW0N56L3C28qFlS70apc/d61ujeU nLdVUJhlsvvWkbWkBb+TtzKr1guuaGtxSgt3HNfQkVZSDGKHHYXhGxZMtAGng0IWWa3m VJ0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773423189; x=1774027989; h=in-reply-to:content-disposition: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; bh=lcdfIqEvtOdc+CdDcJ0gdN/Nrln/jRmIN/u8IJ5772o=; b=nwR+3JvvdXDQX+ammwWI8l/U4EczPm6qFzFaATt7Oz3oF05V5E9ZY8sFcphy6JGohw gyi/74kvhWPE+8Jjb4cXo80/tEoW3t63XLHrJRgXanuY8gWhsZkX+KLT9cpTkdDn+5au uLH5LJhLjQXmEu1+zlPaX0fvXIH78K8E93BZ7UIEEBYYqITMmPGoLqt5A4QWPD6+1pNs eB7hAX4ZsypWwccnZJTQMpbsTRloFchpuuHw3wTKN4wALPs/EBmuB8+hE80qWRt5bnsQ G85hksKbTsj6MOyBNztWCJLGN10JNgsTRKRHnXaXyUHfW5amv4JZuyYpbi/Kw9Ca7GJa 3cMQ== X-Forwarded-Encrypted: i=1; AJvYcCWISPFbqHOgAKVmVDRA238lh2HxaKHO3o6Fhcol/6vYqmaqtlezlYDGfF/2tP3LiILWvQY6LVxnF8ELmUm3@postgresql.org X-Gm-Message-State: AOJu0YyCtSFiOt63mPs03IwJtvplOIdtrsk95u9TQvGOJAj9r1qmH7Mv 4ITg762tOCSelrOMSm2wvdcYlMFXo9W8cHEHP6pNGj2bx1Js9T6HRiaN X-Gm-Gg: ATEYQzwhC8JtFF/uClnsANYorKBMHNir1tjvlmBcUjpACMNcogtaDdcyZLvb+xv/IyJ 765p7qUvOzQlsqqKyAr6FAh9RxA4XSEEclgzhq1cag9s1gAuW1bVOk+ZjS+gAE/FFnrxpBC9607 UwYFA0A3YxUhEmJzP6rbtqAas2v9B2XbgPvBl/3am0aXj2t5VWOrnZEmJxqYA88/KTWb6b1Cc64 Vn77XhcPsdzzjF/Waeb4cxyM+xSf/cR0MSl2Bo0WR03d8lJbiCsgswSn4MHzgI4usfIGBXm591e hXEtqxSz7j0zNWm0Gcrfvk0qtmhqDTPZVGMzAhl8U7CPoJ6kkpo4VA35ZL4dZpeRuW6RPdlMPUL GiXGP2lQyWc0x0+o5mo0vFGDCgZveaNE9aEvottriKjEcod0uTj0BOG6TpvYOHJdzOVToEDdOvh YbQhGlmzb6Kv2z5/F2diGsk6xqnqA6HgwIPl0VDVAbjaOmzarz9PUU1TIykABrrgc51zH+kFAW+ NewGe4A+iWxJ1/gF/pd7Q== X-Received: by 2002:a05:6830:4406:b0:7d7:4cf3:76e9 with SMTP id 46e09a7af769-7d78243688fmr3207626a34.2.1773423189102; Fri, 13 Mar 2026 10:33:09 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d76aec4c8bsm7438137a34.25.2026.03.13.10.33.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2026 10:33:08 -0700 (PDT) Date: Fri, 13 Mar 2026 12:33:06 -0500 From: Nathan Bossart To: Greg Burd Cc: Nazir Bilal Yavuz , Manni Wood , KAZAR Ayoub , Neil Conway , Andrew Dunstan , Shinya Kato , pgsql-hackers Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD Message-ID: References: <43de48dc-701b-4735-881b-50bca6870f39@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Mar 13, 2026 at 01:21:38PM -0400, Greg Burd wrote: > On Fri, Mar 13, 2026, at 12:14 PM, Nazir Bilal Yavuz wrote: >> On Fri, 13 Mar 2026 at 18:29, Greg Burd wrote: >>> I also created a few tests (attached) to check boundary conditions, I >>> might add some along with the RISC-V work. >> >> Thank you for the tests! I have checked them and the output is the >> same on both v17 and master. Do you think it would make sense to add >> them as regression tests? > > If there are tests that materially add to the coverage that's a good > thing to consider adding. I don't think all those tests are necessary. We seem to have good coverage on the new code [0]. I still wouldn't mind adding a couple of tests for correctness, if folks want them. [0] https://coverage.postgresql.org/src/backend/commands/copyfromparse.c.gcov.html -- nathan