pgsql: Avoid amcheck inline compression false positives.

2019-02-06 Thread Peter Geoghegan
Avoid amcheck inline compression false positives. The previous tacit assumption that index_form_tuple() hides differences in the TOAST state of its input datums was wrong. Normalize input varlena datums by decompressing compressed values, and forming a new index tuple for fingerprinting using unc

pgsql: Avoid amcheck inline compression false positives.

2019-02-06 Thread Peter Geoghegan
Avoid amcheck inline compression false positives. The previous tacit assumption that index_form_tuple() hides differences in the TOAST state of its input datums was wrong. Normalize input varlena datums by decompressing compressed values, and forming a new index tuple for fingerprinting using unc