Re: Multi-row insert: error at terminal row.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multi-row insert: error at terminal row.
Дата
Msg-id 1549697.1603986775@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Multi-row insert: error at terminal row.  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
Rich Shepard <rshepard@appl-ecosys.com> writes:
> I'm loading data into tables with the 'insert' statement. There are many
> rows containing values and each is bracketed by parentheses except for the
> last row. That's terminated with a semicolon, but psql reports an error
> there:

> psql:organizations.sql:1926: ERROR:  syntax error at or near ";"
> LINE 1925: ...m',null,'Port','Opportunity',null);
>                                                  ^
> I'm not seeing why that's an error. All previous rows terminate with a comma
> and I don't know where else to look for the reason. What am I missing
> seeing?

First thought is that you might need another right parenthesis there.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Multi-row insert: error at terminal row.
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Multi-row insert: error at terminal row.