Re: Fix outdated comments for IndexInfo
Japin Li <japinli@hotmail.com>
From: Japin Li <japinli@hotmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Richard Guo
<guofenglinux@gmail.com>
Date: 2025-07-03T01:44:57Z
Lists: pgsql-hackers
On Wed, 02 Jul 2025 at 09:57, Peter Eisentraut <peter@eisentraut.org> wrote: > On 01.05.25 15:47, Japin Li wrote: >> On Thu, 01 May 2025 at 12:13, Peter Eisentraut <peter@eisentraut.org> wrote: >>> 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. >> Thank you for the review. The v2 patch set is attached. >> v2-0001 remains unchanged; v2-0002 has been modified according to >> your feedback. > > I have committed your patch 0001 and backpatched it appropriately, so > that each branch should now have approximately correct comments. And > then I have applied your 0002 to master. Thanks. Thanks a lot. -- Regards, Japin Li
Commits
-
Reformat some node comments
- de5aa1520939 19 (unreleased) landed
-
Update comment for IndexInfo.ii_NullsNotDistinct
- 37b1fce85867 15.14 landed
- 779f24c0b7be 16.10 landed
- c6d0ef160e94 17.6 landed
- b897a58556d8 18.0 landed
- 184595836ba3 19 (unreleased) landed
-
Update comment for IndexInfo.ii_WithoutOverlaps
- 399997d8ccac 18.0 landed
- 7a7b3e11e619 19 (unreleased) landed
-
Fix outdated comment for IndexInfo
- 9d14d40ec5ee 17.6 landed
- b71351e1f2cb 18.0 landed
- 9e5fee822846 19 (unreleased) landed