Re: Unused function parameter in get_qual_from_partbound()

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Cc: David Rowley <dgrowleyml@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-09T02:50:10Z
Lists: pgsql-hackers
On Wed, Jun 09, 2021 at 12:28:48AM +0000, houzj.fnst@fujitsu.com wrote:
> OK, Thanks for the explanation.
> Added to CF: https://commitfest.postgresql.org/33/3159/

At first glance, this looked to me like breaking something just for
sake of breaking it, but removing the rel argument could be helpful
to simplify any external code calling it as there would be no need for
this extra Relation.  So that looks like a good idea, no need to rush
that into 14 though.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove unused function parameter in get_qual_from_partbound

  2. Fix cardinality estimates for parallel joins.