Re: Another user error?

From: Francisco Olarte <folarte(at)peoplecall(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Another user error?
Date: 2020-11-01 18:59:18
Message-ID: CA+bJJbzDSRtzW5B8bWm-HN3TQLRHtF4tiSfnbOe8ZwfbVTvGwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Nov 1, 2020 at 7:54 PM Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
>
> When trying to populate the locations table I get this error:
> psql:locations.sql:2105: ERROR: syntax error at or near ";"
> LINE 2105: ...E Airport Way',null,'Portland','OR','97218',null,null,null);
> ^
> Line 2105 is the last line in the file and is terminated with the only
> semi-colon in the file. Every line prior to this one is terminated with a
> colon. All other syntax errors have been corrected.
>
> I've not encountered this issue before. Where should I look for the error?

This is nearly impossible to diagnose without a chunk of the query (
i,e, the first lines and the last ones ).

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.

But really, show your code, otherwise you are not going to get much help.

Francisco Olarte.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2020-11-01 19:00:06 Re: Another user error?
Previous Message Rich Shepard 2020-11-01 18:59:04 Re: Another user error?