Re: Why is get_cheapest_parallel_safe_total_inner() in pathkeys.c?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why is get_cheapest_parallel_safe_total_inner() in pathkeys.c?
Date: 2017-04-21 22:23:59
Message-ID: CA+Tgmoa5cwp2hHXCKy18hZ28dWWaero99h_5PLuHGuzGVukz4g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 21, 2017 at 12:10 PM, David Rowley
<david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> This probably ended up here because there's a bunch of other functions
> named get_cheapest* in that file, but all of those relate to getting a
> path for specific PathKeys. get_cheapest_parallel_safe_total_inner()
> does not do that.

Yes, I just put it near to the code from which it was derived.

> Maybe allpaths.c is a better home for it?

I will let others be the judge of that.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-04-21 22:28:00 Re: pg_dump emits ALTER TABLE ONLY partitioned_table
Previous Message Robert Haas 2017-04-21 22:22:36 Re: Partition-wise join for join between (declaratively) partitioned tables