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: Another user error?
Date: Sun, 1 Nov 2020 11:10:00 -0800
Message-ID: <cabaddc8-343a-ad80-b5ee-0e19fa176134@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.2011011100370.21010@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2011011050550.21010@salmo.appl-ecosys.com>
	<CA+bJJbzDSRtzW5B8bWm-HN3TQLRHtF4tiSfnbOe8ZwfbVTvGwA@mail.gmail.com>
	<alpine.LNX.2.20.2011011100370.21010@salmo.appl-ecosys.com>

On 11/1/20 11:04 AM, Rich Shepard wrote:
> On Sun, 1 Nov 2020, Francisco Olarte wrote:
> 
>> This is nearly impossible to diagnose without a chunk of the query (
>> i,e, the first lines and the last ones ).
> 
> Francisco,
> 
> $ psql -d bustrac -f locations.sql
> 
>> It smells to missing parentheses. If you use some editor witch matches
>> them, try adding one BEFORE the semicolon. If it matches something
>> above you've got it.
> 
> Here're the last two lines:
> (2297,1,'Principal place of business','600 SE Bay 
> Boulevard',null,'Newport','OR','97365','541-265-7758','541-265-4235',null),
> (2298,1,'Principal place of business','7200 NE Airport 
> Way',null,'Portland','OR','97218',null,null,null);

Also need the beginning lines including the INSERT part.

> 
> And psql found a few missing terminating parentheses and commas which were
> fixed. I expected this last run to successfully complete.
> 
> Regards,
> 
> Rich
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (10+ messages)  latest in thread

Message-ID: <cabaddc8-343a-ad80-b5ee-0e19fa176134@aklaver.com>
Permalink:  ../cabaddc8-343a-ad80-b5ee-0e19fa176134@aklaver.com/
Also on:    postgresql.org/message-id/cabaddc8-343a-ad80-b5ee-0e19fa176134@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: Another user error?
  In-Reply-To: <cabaddc8-343a-ad80-b5ee-0e19fa176134@aklaver.com>
  References: <alpine.LNX.2.20.2011011050550.21010@salmo.appl-ecosys.com> <CA+bJJbzDSRtzW5B8bWm-HN3TQLRHtF4tiSfnbOe8ZwfbVTvGwA@mail.gmail.com> <alpine.LNX.2.20.2011011100370.21010@salmo.appl-ecosys.com> <cabaddc8-343a-ad80-b5ee-0e19fa176134@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