Remove unused fields from BufferCacheNumaRec

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Remove unused fields from BufferCacheNumaRec
Date: 2025-11-21 11:34:01
Message-ID: aSBOKX6pLJzumbmF@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

While working on [1], I noticed that there are unused fields in BufferCacheNumaRec
since ba2a3c2302f.

Also, I noticed that a comment was not at the correct location in
pg_buffercache_numa_pages().

The attached takes care of both.

[1]: https://www.postgresql.org/message-id/aR9I29QgGdyUMkJq%40ip-10-97-1-34.eu-west-3.compute.internal

Regards,

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

Attachment Content-Type Size
v1-0001-Remove-unused-fields-from-BufferCacheNumaRec.patch text/x-diff 2.0 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2025-11-21 11:36:57 Re: 10% drop in code line count in PG 17
Previous Message Aleksander Alekseev 2025-11-21 11:33:38 Re: change default default_toast_compression to lz4?