Re: \COPY in script

From: Binand Sethumadhavan <binand(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: \COPY in script
Date: 2016-10-10 17:32:58
Message-ID: CAFBJCCaLGs1fNJHD=Wji_Lp7C8QjkkEbZuH2Mb5oasyppNP2fw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 7 October 2016 at 22:59, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Antonio Silva 2016-10-15 17:05:29 could not connect to server
Previous Message Tom Lane 2016-10-07 17:29:28 Re: \COPY in script