Re: print_path is missing GatherMerge and CustomScan support

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: print_path is missing GatherMerge and CustomScan support
Дата
Msg-id CAFjFpReLXu9qa2a-bt9-yDiT6UZn1+nh_1dEVkJuCXu6y838Aw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: print_path is missing GatherMerge and CustomScan support  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: print_path is missing GatherMerge and CustomScan support  (Michael Paquier <michael@paquier.xyz>)
Re: print_path is missing GatherMerge and CustomScan support  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, Jul 18, 2018 at 11:52 AM, Michael Paquier <michael@paquier.xyz> wrote:
> On Wed, Jul 18, 2018 at 02:35:23PM +0900, Masahiko Sawada wrote:
>> Hi,
>>
>> While debugging planner I realized that print_path() function is not
>> aware of both GatherMerge path and CustomScan path. Attached small
>> patch fixes it.
>
> Good catch.  Those should be backpatched.  While I am looking at this
> stuff, I have noticed that pathnode.c/reparameterize_path_by_child uses
> T_MergeAppend and not T_MergeAppendPath.
>
> --- a/src/backend/optimizer/util/pathnode.c
> +++ b/src/backend/optimizer/util/pathnode.c
> @@ -3817,7 +3817,7 @@ do { \
>             }
>             break;
>
> -       case T_MergeAppend:
> +       case T_MergeAppendPath:
>             {
>                  MergeAppendPath *mapath
>
> This is new as of f49842d1 in v11.

Yes that's right. Thanks for taking care of it.

> Robert, Ashutosh, am I missing
> something?

You used my personal email id by mistake, I think. I have removed it
and added by EDB email address.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [bug fix] Produce a crash dump before main() on Windows
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: print_path is missing GatherMerge and CustomScan support