Search Postgresql Archives

Re: Any idea about using \COPY in ECPG statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/16/11 11:28 PM, Siva Palanisamy wrote:

Hi All,

Does anybody have an idea about how to write \COPY command as an ECPG statement?



are you a broken record?  I've answered this several times now.

COPY .... TO STDOUT....

and capture the output with |PQgetCopyData| or whatever the equivalent is in your favorite language binding.



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux