Re: Parallel INSERT (INTO ... SELECT ...)
От | Amit Kapila |
---|---|
Тема | Re: Parallel INSERT (INTO ... SELECT ...) |
Дата | |
Msg-id | CAA4eK1JYtCreh8NLnJReoAVur+h2sDAx1ja3J4ccLD_jG2GCbg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Parallel INSERT (INTO ... SELECT ...) (Greg Nancarrow <gregn4422@gmail.com>) |
Ответы |
Re: Parallel INSERT (INTO ... SELECT ...)
|
Список | pgsql-hackers |
On Fri, Oct 9, 2020 at 7:32 PM Greg Nancarrow <gregn4422@gmail.com> wrote: > > On Fri, Oct 9, 2020 at 11:57 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > > > > > > > Sure but in that case 'top_plan->parallel_safe' should be false and it > > > should stick Gather node atop Insert node. > > > > > > > /should/should not. > > > > OK, for the minimal patch, just allowing INSERT with parallel SELECT, > you're right, neither of those additional "commandType == CMD_SELECT" > checks are needed, so I'll remove them. > Okay, that makes sense. > (In the main patch, I think > the first check can be removed, once the XID handling is fixed; the > second check is definitely needed though). > Okay, then move that check but please do add some comments to state the reason. -- With Regards, Amit Kapila.
В списке pgsql-hackers по дате отправления: