Re: COPY from PGAdmin - Mailing list pgsql-novice

From Gurjeet Singh
Subject Re: COPY from PGAdmin
Date
Msg-id AANLkTikcBinTTNj-RQg+zLasnMp9bmeDJL-KYJwxxm3o@mail.gmail.com
Whole thread Raw
In response to COPY from PGAdmin  ("Lukas" <lukas@fmf.vgtu.lt>)
Responses Re: COPY from PGAdmin  (Dave Page <dpage@pgadmin.org>)
List pgsql-novice
I don't believe pgAdmin is capable of doing that.

Adding Dave so he can correct me.

Regards,

On Mon, Dec 27, 2010 at 11:48 AM, Lukas <lukas@fmf.vgtu.lt> wrote:
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


--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice



--
gurjeet.singh
@ EnterpriseDB - The Enterprise Postgres Company
http://www.EnterpriseDB.com

singh.gurjeet@{ gmail | yahoo }.com
Twitter/Skype: singh_gurjeet

Mail sent from my BlackLaptop device

pgsql-novice by date:

Previous
From: "Lukas"
Date:
Subject: COPY from PGAdmin
Next
From: Dave Page
Date:
Subject: Re: COPY from PGAdmin