Re: COPY FROM STDIN not in local file

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josh Close <narshe(at)gmail(dot)com>
Cc: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY FROM STDIN not in local file
Date: 2004-09-29 19:59:14
Message-ID: 200409291959.i8TJxEd06508@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


You have to use psql's \copy.

---------------------------------------------------------------------------

Josh Close wrote:
> Is there a way to do COPY FROM STDIN from sql? So, remotely I could
> run the copy command and somehow push the info over instead of having
> it on the server.
>
> -Josh
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2004-09-29 20:24:11 dangling permission on tables after drop user.
Previous Message Matthew Metnetsky 2004-09-29 19:46:26 Re: Custom Functions