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 1kZIeY-0003zp-2c for pgsql-general@arkaria.postgresql.org; Sun, 01 Nov 2020 19:04:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZIeW-0006cU-Px for pgsql-general@arkaria.postgresql.org; Sun, 01 Nov 2020 19:04:32 +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 1kZIeW-0006cN-IY for pgsql-general@lists.postgresql.org; Sun, 01 Nov 2020 19:04:32 +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 1kZIeU-0002qn-GJ for pgsql-general@lists.postgresql.org; Sun, 01 Nov 2020 19:04:32 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 6413B264CFE for ; Sun, 1 Nov 2020 11:04:27 -0800 (PST) Date: Sun, 1 Nov 2020 11:04:27 -0800 (PST) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Another user error? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, 1 Nov 2020, Francisco Olarte wrote: > This is nearly impossible to diagnose without a chunk of the query ( > i,e, the first lines and the last ones ). Francisco, $ psql -d bustrac -f locations.sql > It smells to missing parentheses. If you use some editor witch matches > them, try adding one BEFORE the semicolon. If it matches something > above you've got it. Here're the last two lines: (2297,1,'Principal place of business','600 SE Bay Boulevard',null,'Newport','OR','97365','541-265-7758','541-265-4235',null), (2298,1,'Principal place of business','7200 NE Airport Way',null,'Portland','OR','97218',null,null,null); And psql found a few missing terminating parentheses and commas which were fixed. I expected this last run to successfully complete. Regards, Rich