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/[email protected] Backpatch-through: 9.5 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/43e21fd8f6e8680df0153a0286af394c22123694 Modified Files -------------- contrib/pgcrypto/expected/pgp-compression.out | 30 --------------------------- contrib/pgcrypto/pgp-compress.c | 22 ++++++++++---------- contrib/pgcrypto/sql/pgp-compression.sql | 21 ------------------- 3 files changed, 11 insertions(+), 62 deletions(-)
