Re: Query running for very long time (server hanged) with parallel append

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Query running for very long time (server hanged) with parallel append
Дата
Msg-id CA+TgmoYqdC+9U8mLYkUgM=CaBt6Pzz4R_YNboqDbW-LvUaHO+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query running for very long time (server hanged) with parallel append  (Amit Khandekar <amitdkhan.pg@gmail.com>)
Ответы Re: Query running for very long time (server hanged) with parallelappend
Список pgsql-hackers
On Tue, Feb 6, 2018 at 11:32 AM, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:
> Yeah, I think it looks equally good that way, and like you said, the
> current code does it that way. So in the attached patch, I have
> swapped the two conditions.

I prefer to avoid introducing 2 new variables and instead just prevent
the looping directly in the case where we started with a non-partial
plan.

See attached.  Does this look OK?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add more information_schema columns