Adjust comments for `IndexOptInfo` to accurately reflect indexcollations's length
Junwang Zhao <zhjwpku@gmail.com>
From: Junwang Zhao <zhjwpku@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-22T12:44:13Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix incorrect IndexOptInfo header comment
- ea36c2f6a981 14.21 landed
- ea757e801296 15.16 landed
- 14cdab029287 16.12 landed
- 232e0f5de41b 17.8 landed
- f4e68a32a0cc 18.2 landed
- 07d1dc3aebe4 19 (unreleased) landed
Attachments
- 0001-indexcollations-length-should-be-nkeycolumns.patch (application/octet-stream) patch 0001
Hi, Length of indexcollations[] in `IndexOptInfo` is nkeycolumns, but struct comments fail to express this, it says: indexkeys[], indexcollations[] each have ncolumns entries. So we should polish this description. trivial patch attached. -- Regards Junwang Zhao