Re: Syntax Error Inserting From STDIN?

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Syntax Error Inserting From STDIN?
Дата
Msg-id 1135108417.18741.13.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Syntax Error Inserting From STDIN?  (Hunter's Lists <lists@lastonepicked.com>)
Ответы Re: Syntax Error Inserting From STDIN?  (Hunter's Lists <lists@lastonepicked.com>)
Список pgsql-general
On Tue, 2005-12-20 at 13:30, Hunter's Lists wrote:
> I am trying to run the following:
>
> COPY departments (id, issue_id, title, description, feature_type) FROM
> stdin;
> 23  4   Local Buzz    Things to do, people to see, places to go.      aspen
>
> I get back:
>
> COPY departments (id, issue_id, title, description, feature_type) FROM
> stdin;
>
> 23  4   Local Buzz    Things to do, people to see, places to go.      aspen
>
> ERROR:  syntax error at or near "23" at character 80

Seeing that "character 80" I'm gonna guess this is a CR/LF issue.  I.e.
pgsql on your machine is seeing the 23 as being on the same line as the
copy departments statement.

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

Предыдущее
От: Hunter's Lists
Дата:
Сообщение: Syntax Error Inserting From STDIN?
Следующее
От: Hunter's Lists
Дата:
Сообщение: Re: Syntax Error Inserting From STDIN?