From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Another user error?
Date: Sun, 1 Nov 2020 11:04:27 -0800 (PST)
Message-ID: <alpine.LNX.2.20.2011011100370.21010@salmo.appl-ecosys.com> (raw)
In-Reply-To: <CA+bJJbzDSRtzW5B8bWm-HN3TQLRHtF4tiSfnbOe8ZwfbVTvGwA@mail.gmail.com>
References: <alpine.LNX.2.20.2011011050550.21010@salmo.appl-ecosys.com>
<CA+bJJbzDSRtzW5B8bWm-HN3TQLRHtF4tiSfnbOe8ZwfbVTvGwA@mail.gmail.com>
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);
And psql found a few missing terminating parentheses and commas which were
fixed. I expected this last run to successfully complete.
Regards,
Rich
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: rshepard@appl-ecosys.com
Subject: Re: Another user error?
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>
* 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