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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to