Re: \COPY in script - Mailing list pgsql-novice

From Binand Sethumadhavan
Subject Re: \COPY in script
Date
Msg-id CAFBJCCaLGs1fNJHD=Wji_Lp7C8QjkkEbZuH2Mb5oasyppNP2fw@mail.gmail.com
Whole thread Raw
In response to Re: \COPY in script  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On 7 October 2016 at 22:59, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I think you want "pstdin" not "stdin".  See the description of \copy
> in the psql man page.

Thanks. I also found this article that explained the difference.

http://illuminatedcomputing.com/posts/2015/02/postgres_copy_stdin_vs_pstdin/

Binand


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: \COPY in script
Next
From: Antonio Silva
Date:
Subject: could not connect to server