[HACKERS] COPY (query) TO ... doesn't allow parallelism

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [HACKERS] COPY (query) TO ... doesn't allow parallelism
Дата
Msg-id 20170531231958.ihanapplorptykzm@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: [HACKERS] COPY (query) TO ... doesn't allow parallelism  (Dilip Kumar <dilipbalaut@gmail.com>)
Re: [HACKERS] COPY (query) TO ... doesn't allow parallelism  (Amit Kapila <amit.kapila16@gmail.com>)
Re: [HACKERS] COPY (query) TO ... doesn't allow parallelism  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

At the moment $subject doesn't allow parallelism, because copy.c's
pg_plan_query() invocation doesn't set the CURSOR_OPT_PARALLEL_OK
flag.

To me that appears to be an oversight rather than intentional.  A
somewhat annoying one at that, because it's not uncommong to use COPY to
execute reports to a CSV file and such.

Robert, am I missing a complication?

I personally think we should fix this in 9.6 and 10, but I've to admit
I'm not entirely impartial, because Citus hit this...

Greetings,

Andres Freund



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

Предыдущее
От: Mark Dilger
Дата:
Сообщение: Re: [HACKERS] pg_class.relpartbound definition overly brittle
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [JDBC] [HACKERS] Channel binding support for SCRAM-SHA-256