Why is get_cheapest_parallel_safe_total_inner() in pathkeys.c?

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

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.

Maybe allpaths.c is a better home for it?

It seems to have been added in [1]

[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a71f10189dc10a2fe422158a2c9409e0f77c6b9e

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tels 2017-04-21 10:30:26 Re: WITH clause in CREATE STATISTICS
Previous Message Egor Rogov 2017-04-21 10:08:19 Triggers and logical replication (10devel)