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 1kYG4M-0002TN-34 for pgsql-general@arkaria.postgresql.org; Thu, 29 Oct 2020 22:06:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kYG4L-0007zo-0f for pgsql-general@arkaria.postgresql.org; Thu, 29 Oct 2020 22:06:53 +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 1kYG4K-0007zh-PK for pgsql-general@lists.postgresql.org; Thu, 29 Oct 2020 22:06:52 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYG4I-00011W-LJ for pgsql-general@lists.postgresql.org; Thu, 29 Oct 2020 22:06:52 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 6F45F262CCF for ; Thu, 29 Oct 2020 15:06:47 -0700 (PDT) Date: Thu, 29 Oct 2020 15:06:47 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Multi-row insert: error at terminal row. [RESOLVED] In-Reply-To: <66f781bc-312a-f9a7-fc10-b73bd0a8e6eb@gmail.com> Message-ID: References: <2654c9b4-ef5e-3760-a258-447fe1e640ca@aklaver.com> <66f781bc-312a-f9a7-fc10-b73bd0a8e6eb@gmail.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 29 Oct 2020, Rob Sargent wrote: > Would it be rude to suggest that you re-visit how that file was made? > Seems you'll be in the same boat "next time". Rob, Part of the files was exported from the old version of the database. New rows were from different text files, each with a different format, and all needing to be parsed with data belonging to four different tables. There won't be a 'next time' now that I've corrected the database structure. All new information (once I get these tables correctly loaded) will be one-at-a-time. Manipulating 2K datasets over long hours and multiple days led me to make errors I didn't catch at the time. Regards, Rich