Re: custom background worker task for \copy?

Поиск
Список
Период
Сортировка
От Joe Carlson
Тема Re: custom background worker task for \copy?
Дата
Msg-id 06B9281F-8B8F-454A-8D5D-6EC0ACCA16A3@lbl.gov
обсуждение исходный текст
Ответ на Re: custom background worker task for \copy?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
Thanks. Yes, an option. Was considering that as well.

Joe

> On Jun 2, 2023, at 9:41 PM, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>
> On Fri, 2023-06-02 at 11:36 -0700, Joe Carlson wrote:
>> I have SQL that does it with \copy (select * from <table> where…) … And that is fine.
>> But it would be nice to be able to run the \copy commands in parallel.
>> So I was thinking of writing a background worker.
>
> Why don't you go the easy way of using several database connections to run the
> parallel COPY statements?
>
> Yours,
> Laurenz Albe



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

Предыдущее
От: Ron
Дата:
Сообщение: Re: pg_upgrade and schema complexity...
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Number of dashes in the expanded view of psql