Revert "Fix corner case with PGP decompression in pgcrypto"
authorMichael Paquier <michael@paquier.xyz>
Wed, 22 Jul 2020 23:29:22 +0000 (08:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 22 Jul 2020 23:29:22 +0000 (08:29 +0900)
commit6ae2d925b131962cfb6a94294adae0eb77f77a16
tree257f0120370250155ed09b4d88b94fb973d3da96
parenteceb415c6ff0eb2494f90397433a966a182f3908
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