Revert "Fix corner case with PGP decompression in pgcrypto"
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgcrypto/expected/pgp-compression.out | modified | +0 −30 |
| contrib/pgcrypto/pgp-compress.c | modified | +11 −11 |
| contrib/pgcrypto/sql/pgp-compression.sql | modified | +0 −21 |
Discussion
- BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data 21 messages · 2020-06-03 → 2020-07-27