Add a test for creating an index on a whole-row expression.
Robert Haas <rhaas@postgresql.org>
Add a test for creating an index on a whole-row expression. Surprisingly, we have no existing test for this. Had this test been present before commit 570e2fcc041a55ba8991a640cc3f3f0e122feac3 the Assert added in commit c98ad086ad9b1ca9dbb2725f246298fa8450d82f would have caught the bug. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: http://postgr.es/m/CA+TgmoacixUZVvi00hOjk_d9B4iYKswWP1gNqQ8Vfray-AcOCA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/indexing.out | modified | +11 −0 |
| src/test/regress/sql/indexing.sql | modified | +12 −0 |
Discussion
- TupleDescAttr bounds checks 13 messages · 2026-03-20 → 2026-04-05