Multi-row insert: error at terminal row.

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Multi-row insert: error at terminal row.
Date: 2020-10-29 15:43:26
Message-ID: alpine.LNX.2.20.2010290837410.522@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2020-10-29 15:45:45 Re: Multi-row insert: error at terminal row.
Previous Message Zwettler Markus (OIZ) 2020-10-29 13:46:40 pgpool-II native replication