A minor adjustment to get_cheapest_path_for_pathkeys

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: A minor adjustment to get_cheapest_path_for_pathkeys
Date: 2023-04-11 07:19:41
Message-ID: CAMbWs4-KE2wf4QPj_Sr5mX4QFtBNNKGmxK=+e=KZEGUjdG33=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The check for parallel_safe should be even cheaper than cost comparison
so I think it's better to do that first. The attached patch does this
and also updates the comment to mention the requirement about being
parallel-safe.

Thanks
Richard

Attachment Content-Type Size
v1-0001-Adjustment-to-get_cheapest_path_for_pathkeys.patch application/octet-stream 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2023-04-11 07:41:18 Re: Improve logging when using Huge Pages
Previous Message Magnus Hagander 2023-04-11 07:09:41 Re: When to drop src/tools/msvc support