Fix interaction of TOAST compression with expression indexes.
Robert Haas <rhaas@postgresql.org>
Fix interaction of TOAST compression with expression indexes. Before, trying to compress a value for insertion into an expression index would crash. Dilip Kumar, with some editing by me. Report by Jaime Casanova. Discussion: http://postgr.es/m/CAJKUy5gcs0zGOp6JXU2mMVdthYhuQpFk=S3V8DOKT=LZC1L36Q@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/brin/brin_tuple.c | modified | +5 −3 |
| src/backend/access/common/indextuple.c | modified | +13 −2 |
| src/backend/catalog/index.c | modified | +10 −0 |
| src/test/regress/expected/compression_1.out | modified | +13 −0 |
| src/test/regress/expected/compression.out | modified | +6 −0 |
| src/test/regress/sql/compression.sql | modified | +7 −0 |
Discussion
- Custom compression methods 458 messages · 2017-09-07 → 2021-04-08