Re: Multi-row insert: error at terminal row. - Mailing list pgsql-general

From Rich Shepard
Subject Re: Multi-row insert: error at terminal row.
Date
Msg-id alpine.LNX.2.20.2010290953500.522@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Multi-row insert: error at terminal row.  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On Thu, 29 Oct 2020, David G. Johnston wrote:

> As your general syntax seems correct I would suspect an issue in the data
> values - like having a single quote in an organization name that isn't
> properly escaped (doubled). I'd first make sure insert one record works
> then begin bisecting your values, only inserting subsets at a time, until
> you narrow down the offending record.

David,

I checked and repaired all single apostrophe's with doubled apostrophies.
Postgres found other syntax errors (period rather than comma; missing comma)
but didn't reject single quotes as apostrophes within a string. Also, there
are no strings in this table that would have apostrophes.

Thanks,

Rich



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Multi-row insert: error at terminal row.
Next
From: Rich Shepard
Date:
Subject: Re: Multi-row insert: error at terminal row.