Re: [PATCH] Remove unused PartitionDescData.last_found_part_index field

From: Quan Zongliang <quanzongliang(at)yeah(dot)net>
To: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Remove unused PartitionDescData.last_found_part_index field
Date: 2026-08-04 00:31:11
Message-ID: 6cb8a33a-bc17-47c6-a5b1-31a06774c33f@yeah.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/3/26 8:21 PM, Aleksander Alekseev wrote:
> Hi,
>
> It looks like this field was write-only since its introduction in
> 3592e0ff98b. The proposed patch removes dead code.
>
Agree.

Based on the latest code and 3592e0ff98b, it is clear that this field
was not used. Perhaps during this period, some of the codes might have
accessed this field. But this does not affect the fact that they are
currently in a useless state.

--
Quan Zongliang

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Chen 2026-08-04 00:38:46 Re: [PATCH] Fix vacuum_delay_point happening inside lock
Previous Message Mihail Nikalayeu 2026-08-03 23:51:00 data_checksums + debug_discard_caches = crash