Re: Any idea about using \COPY in ECPG statement

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Any idea about using \COPY in ECPG statement
Дата
Msg-id 4E4B64A0.6030801@hogranch.com
обсуждение исходный текст
Ответ на Any idea about using \COPY in ECPG statement  (Siva Palanisamy <siva_p@hcl.com>)
Список pgsql-general
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


В списке pgsql-general по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Any idea about using \COPY in ECPG statement
Следующее
От: Sim Zacks
Дата:
Сообщение: Re: Using Postgresql as application server