Re: COPY from PGAdmin

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>
Cc: Lukas <lukas(at)fmf(dot)vgtu(dot)lt>, pgsql-novice(at)postgresql(dot)org
Subject: Re: COPY from PGAdmin
Date: 2010-12-27 19:10:19
Message-ID: AANLkTi=4EZfABRm55EoZJviHDyFTqrbWcvfZQmzFHRL3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

You are correct Gurjeet.

On 12/27/10, Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> wrote:
> 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(at)fmf(dot)vgtu(dot)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(at)postgresql(dot)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(dot)gurjeet(at){ gmail | yahoo }.com
> Twitter/Skype: singh_gurjeet
>
> Mail sent from my BlackLaptop device
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message wolfang 2010-12-27 19:41:48 Send parameters using Shell script to PostgreSQL
Previous Message Gurjeet Singh 2010-12-27 18:27:10 Re: COPY from PGAdmin