log_heap_visible(): remove unused parameter and update comment

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: log_heap_visible(): remove unused parameter and update comment
Date: 2022-09-30 07:35:47
Message-ID: bbc7bb4b-94e0-3baf-2250-b2ee8ef22eea@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While resuming the work on [1] I noticed that:

- there is an unused parameter in log_heap_visible()
- the comment associated to the function is not in "sync" with the
current implementation (referring a "block" that is not involved anymore)

Attached a tiny patch as an attempt to address the above remarks.

[1]: https://commitfest.postgresql.org/39/3740/

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v1-0001-log_heap_visible-unused-parameter.patch text/plain 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2022-09-30 07:47:13 Re: Support logical replication of DDLs
Previous Message Benjamin Coutu 2022-09-30 07:09:30 Re: disfavoring unparameterized nested loops