Re: Finding error in long input file - Mailing list pgsql-general

From David G. Johnston
Subject Re: Finding error in long input file
Date
Msg-id CAKFQuwYbQGo043MS_hEKnvdSjt2EFX7pd0BzNYV4D_gCA2CqdQ@mail.gmail.com
Whole thread Raw
In response to Re: Finding error in long input file  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Finding error in long input file
List pgsql-general


On Wednesday, July 10, 2024, Rich Shepard <rshepard@appl-ecosys.com> wrote:
On Wed, 10 Jul 2024, David G. Johnston wrote:

And what are the first few lines of the file? Use text, not screenshots.

David,

insert into locations (company_nbr,loc_nbr,loc_name,addr1,city,state_code,postcode) values
(2564,1,default,'4250 Hopkins Rd','Ontario','OR','97914'),
(2565,1,default,'10695 Meridian Rd','Mount Angel','OR','97362'),
(2566,1,default,'6963 Keene Rd NE','Gervais ','OR','97026'),
(2567,1,default,'31250 S Bond Rd','Hubbard','OR','97032'),

My first easy look for this setup is for any single quotes not adjacent to either a comma or a parenthesis.  Syntax highlighting should ideally have caught this but I’d look anyway.

David J.
 

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Finding error in long input file
Next
From: Rich Shepard
Date:
Subject: Re: Finding error in long input file