Revert "Fix corner case with PGP decompression in pgcrypto"
authorMichael Paquier <michael@paquier.xyz>
Wed, 22 Jul 2020 23:29:14 +0000 (08:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 22 Jul 2020 23:29:14 +0000 (08:29 +0900)
commit9f5162ef43c52396c4365b9cabfdffb4e4bf716d
tree540d125657de410035506da769910d9bcbea4b12
parent35e142202b14fa12f8edbd7e58b33c39d3c03c62
Revert "Fix corner case with PGP decompression in pgcrypto"

This reverts commit 9e10898, after finding out that buildfarm members
running SLES 15 on z390 complain on the compression and decompression
logic of the new test: pipistrelles, barbthroat and steamerduck.

Those hosts are visibly using hardware-specific changes to improve zlib
performance, requiring more investigation.

Thanks to Tom Lane for the discussion.

Discussion: https://postgr.es/m/20200722093749.GA2564@paquier.xyz
Backpatch-through: 9.5
contrib/pgcrypto/expected/pgp-compression.out
contrib/pgcrypto/pgp-compress.c
contrib/pgcrypto/sql/pgp-compression.sql