pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Fresh eyeballs needed: input into error
Date: Tue, 26 Apr 2022 14:36:10 -0700
Message-ID: <195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com> (raw)
In-Reply-To: <457ef4b-792a-9ef-5172-972617d10f7@appl-ecosys.com>
References: <457ef4b-792a-9ef-5172-972617d10f7@appl-ecosys.com>

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





view thread (14+ messages)  latest in thread

Message-ID: <195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com>
Permalink:  ../195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com/
Also on:    postgresql.org/message-id/195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
  Subject: Re: Fresh eyeballs needed: input into error
  In-Reply-To: <195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com>
  References: <457ef4b-792a-9ef-5172-972617d10f7@appl-ecosys.com> <195e7e4a-1606-de80-0f4f-e78c0868764e@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox