Re: Fix outdated comments for IndexInfo

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Japin Li <japinli@hotmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-05-01T10:13:43Z
Lists: pgsql-hackers
On 30.04.25 17:48, Japin Li wrote:
> While working on [1], I found outdated comments in IndexInfo.
> The attached patch corrects them.
> 
> [1] https://www.postgresql.org/message-id/2A40921D-83AB-411E-ADA6-7E509A46F1E4%40logansw.com

Maybe these per-column comments should be moved inline, similar to, for 
example, ResultRelInfo later in the file.  That would make maintaining 
them easier.




Commits

  1. Reformat some node comments

  2. Update comment for IndexInfo.ii_NullsNotDistinct

  3. Update comment for IndexInfo.ii_WithoutOverlaps

  4. Fix outdated comment for IndexInfo