Re: COPY form stdin and file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY form stdin and file
Дата
Msg-id 10430.1173086542@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY form stdin and file  ("senges" <csengstock@gmail.com>)
Список pgsql-general
"senges" <csengstock@gmail.com> writes:
> when untaring a pg_dumped tar file the data gets populated like this:

> -----------------
> COPY mytable (id, attr1, attr2) FROM stdin;
> \.
> copy mytable (id, attr1, attr2)  from '$$PATH$$/2387.dat' ;
> -----------------

Not here ... I only see 'FROM stdin' cases.  Please provide a test case,
and mention which PG version you are dealing with.

> The ".\" throws an error within the pgadmin sql query window:
> ERROR:  syntax error at or near "\" at character

You'd need to complain to the pgadmin people about that.

            regards, tom lane

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

Предыдущее
От: "senges"
Дата:
Сообщение: COPY form stdin and file
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: COPY form stdin and file