| From: | Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> |
|---|---|
| To: | Lukas <lukas(at)fmf(dot)vgtu(dot)lt>, Dave Page <dpage(at)pgadmin(dot)org> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: COPY from PGAdmin |
| Date: | 2010-12-27 18:27:10 |
| Message-ID: | AANLkTikcBinTTNj-RQg+zLasnMp9bmeDJL-KYJwxxm3o@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2010-12-27 19:10:19 | Re: COPY from PGAdmin |
| Previous Message | Lukas | 2010-12-27 16:48:04 | COPY from PGAdmin |