- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit4b42a89
committed
Consistently truncate non-key suffix columns.
INCLUDE indexes failed to have their non-key attributes physicallytruncated away in certain rare cases. This led to physically largerpivot tuples that contained useless non-key attribute values. Theimpact on users should be negligible, but this is still clearly aregression (Postgres 11 supports INCLUDE indexes, and yet was notaffected).The bug appeared in commitdd299df, which introduced "true" suffixtruncation of key attributes.Discussion:https://postgr.es/m/CAH2-Wz=E8pkV9ivRSFHtv812H5ckf8s1-yhx61_WrJbKccGcrQ@mail.gmail.comBackpatch: 12-, where "true" suffix truncation was introduced.1 parent911e702 commit4b42a89
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2205 | 2205 |
| |
2206 | 2206 |
| |
2207 | 2207 |
| |
2208 |
| - | |
| 2208 | + | |
| 2209 | + | |
2209 | 2210 |
| |
2210 | 2211 |
| |
2211 | 2212 |
| |
| |||
2250 | 2251 |
| |
2251 | 2252 |
| |
2252 | 2253 |
| |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
2253 | 2258 |
| |
2254 | 2259 |
| |
2255 | 2260 |
| |
|
0 commit comments
Comments
(0)