From: | Paul Förster <paul(dot)foerster(at)gmail(dot)com> |
---|---|
To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
Cc: | PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Multi-row insert: error at terminal row. |
Date: | 2020-10-29 16:15:53 |
Message-ID: | 23EFF7D8-D708-4F5F-826C-A7FB0F7C265A@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Rich,
> On 29. Oct, 2020, at 17:08, Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
>
> On Thu, 29 Oct 2020, Paul Förster wrote:
>
>>> (2698,'Port of Portland','http://www.portofportland.com',null,'Port','Opportunity',null);
>> the last line has a closing parenthesis missing.
>
> Paul,
>
> I see a closing parenthesis immediately in front of the semi-colon and emacs
> shows it matches the opening parenthesis.
I don't know Emacs, I'm a vi guy. ;-)
But I guess that Emacs shows the matching closing bracket at the beginning of the line, which matches that single tuple. But you also need a closing bracket for the set of tuples like this:
insert ...
(
(v1, v2, v3),
(v4, v5, v6),
(v7, v8, v9) <= this is the bracket pair that Emacs shows as matching.
); <= this is the missing bracket.
Cheers,
Paul
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2020-10-29 16:21:45 | Re: Multi-row insert: error at terminal row. |
Previous Message | Adrian Klaver | 2020-10-29 16:15:14 | Re: Multi-row insert: error at terminal row. |