Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpxdW-0007aU-EQ for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Dec 2020 18:04:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kpxdU-0001q8-MA for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Dec 2020 18:04:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpxdU-0001q0-F6 for pgsql-hackers@lists.postgresql.org; Thu, 17 Dec 2020 18:04:20 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kpxdR-0000xQ-UJ for pgsql-hackers@postgresql.org; Thu, 17 Dec 2020 18:04:20 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kpxdO-0004AI-VR; Thu, 17 Dec 2020 13:04:14 -0500 Date: Thu, 17 Dec 2020 13:04:14 -0500 From: Bruce Momjian To: Heikki Linnakangas Cc: pgsql-hackers Subject: Re: Perform COPY FROM encoding conversions in larger chunks Message-ID: <20201217180414.GG23260@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Dec 16, 2020 at 02:17:58PM +0200, Heikki Linnakangas wrote: > I've been looking at the COPY FROM parsing code, trying to refactor it so > that the parallel COPY would be easier to implement. I haven't touched > parallelism itself, just looking for ways to smoothen the way. And for ways > to speed up COPY in general. Yes, this makes a lot of sense. Glad you are looking into this. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee