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 1kYA5N-0001f0-Vz for pgsql-general@arkaria.postgresql.org; Thu, 29 Oct 2020 15:43:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kYA5M-0002DW-KA for pgsql-general@arkaria.postgresql.org; Thu, 29 Oct 2020 15:43: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 1kYA5M-0002DP-Cs for pgsql-general@lists.postgresql.org; Thu, 29 Oct 2020 15:43: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 1kYA5K-0006ET-7M for pgsql-general@lists.postgresql.org; Thu, 29 Oct 2020 15:43:31 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id ED0AE262CCF for ; Thu, 29 Oct 2020 08:43:26 -0700 (PDT) Date: Thu, 29 Oct 2020 08:43:26 -0700 (PDT) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Multi-row insert: error at terminal row. Message-ID: 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 I'm loading data into tables with the 'insert' statement. There are many rows containing values and each is bracketed by parentheses except for the last row. That's terminated with a semicolon, but psql reports an error there: psql:organizations.sql:1926: ERROR: syntax error at or near ";" LINE 1925: ...m',null,'Port','Opportunity',null); ^ I'm not seeing why that's an error. All previous rows terminate with a comma and I don't know where else to look for the reason. What am I missing seeing? TIA, Rich