COPY from PGAdmin - Mailing list pgsql-novice

From Lukas
Subject COPY from PGAdmin
Date
Msg-id 4946.77.240.249.53.1293468484.squirrel@fmf.vgtu.lt
Whole thread Raw
Responses Re: COPY from PGAdmin
List 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 by date:

Previous
From: 3dmashup
Date:
Subject: Re: New indexing technique
Next
From: Gurjeet Singh
Date:
Subject: Re: COPY from PGAdmin