Unused function parameter in get_qual_from_partbound()

Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>

From: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-08T09:50:28Z
Lists: pgsql-hackers

Attachments

Hi,

I noticed that the first function parameter in get_qual_from_partbound(**Relation rel**, Relation parent,
is not used in the function.

Is it better to remove it like the attached patch ?

Best regards,
houzj

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.