COPY from PGAdmin

Поиск
Список
Период
Сортировка
От Lukas
Тема COPY from PGAdmin
Дата
Msg-id 4946.77.240.249.53.1293468484.squirrel@fmf.vgtu.lt
обсуждение исходный текст
Ответы Re: COPY from PGAdmin  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Список pgsql-novice
Hello,

 is is possible to run COPY query from pgadmin query window with data
"from stdin"?
 I am trying with example:
COPY phone (ph_id, ph_phone, ph_name) FROM stdin;
1    37061054322    John
2    37065992332    Tom
\.

But I get error:
ERROR:  syntax error at or near "1"
LINE 2: 1 37061054322 John
        ^

I analyzed plain text dump file of the same table, and I see that it is
the same query, but it do not work from pgadmin..


---
Lukas
UAB nSoft
www.nSoft.lt


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

Предыдущее
От: 3dmashup
Дата:
Сообщение: Re: New indexing technique
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: COPY from PGAdmin