Re: Extending COPY TO

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Extending COPY TO
Дата
Msg-id 54229A29.9070908@vmware.com
обсуждение исходный текст
Ответ на Re: Extending COPY TO  (Andrea Riciputi <andrea.riciputi@gmail.com>)
Список pgsql-hackers
On 09/24/2014 09:23 AM, Andrea Riciputi wrote:
> Imagine you access PG from an application written in the language X
> using a driver library, both your application and your PG instance
> run on two different hosts.

In that scenario, you'll be using the PQgetCopyData function to get the 
data. PQgetCopyData returns one row at a time; the application can 
trivially change the line-ending to whatever it wants, when writing the 
output to a file or wherever it goes.

> As I wrote before, despite being an heavy PG user, it’s my first time
> on the hackers ML and I don’t want to seem disrespectful of the
> community.

No worries; thanks for effort, even if this idea doesn't pan out.

- Heikki




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

Предыдущее
От: Dilip kumar
Дата:
Сообщение: Re: TODO : Allow parallel cores to be used by vacuumdb [ WIP ]
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: add modulo (%) operator to pgbench