Fix interaction of TOAST compression with expression indexes.

Robert Haas <rhaas@postgresql.org>

Commit: 5db1fd7823a1a12e2bdad98abc8e102fd71ffbda
Author: Robert Haas <rhaas@postgresql.org>
Date: 2021-03-25T23:55:32Z
Releases: 14.0
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

Discussion