Re: Fresh eyeballs needed: input into error - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Fresh eyeballs needed: input into error
Date
Msg-id 195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com
Whole thread Raw
In response to Fresh eyeballs needed: input into error  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Fresh eyeballs needed: input into error  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: Fresh eyeballs needed: input into error  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 4/26/22 2:31 PM, Rich Shepard wrote:
> I'm getting a syntax error with an input into statement and I cannot see 
> the
> cause.
> 
> A MWE and the result (N.B.: line one wrapped for readability; it ends with
> 'values'):
> insert into people (person_nbr,lname,fname,job_title,company_nbr,loc_nbr,
> loc_phone_ext,direct_phone,direct_fax,cell_phone,email,active,comment) 
> values (6000,'No','Name',null,404,1,null,null,null,null,null,null,null);
> 
> 2: ERROR:  syntax error at end of input
> LINE 2: (
>           ^
> What do I keep missing?

I'm guessing some sort of hidden character.

What client are you using to run this?

Where is the query string coming from?

> 
> TIA,
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Fresh eyeballs needed: input into error
Next
From: Rich Shepard
Date:
Subject: Re: Fresh eyeballs needed: input into error