pgsql: pgcrypto: Remove explicit hex encoding/decoding from tests

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgcrypto: Remove explicit hex encoding/decoding from tests
Date: 2021-12-08 05:13:07
Message-ID: E1mupGN-0002j8-Fl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pgcrypto: Remove explicit hex encoding/decoding from tests

This was from before the hex format was available in bytea. Now we
can remove the extra explicit encoding/decoding calls and rely on the
default output format.

Discussion: https://www.postgresql.org/message-id/flat/17dcb4f7-7ac1-e2b6-d5f7-2dfba06cd9ee%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/814e1d9ff7a853b16a544a244bfa92e8388be248

Modified Files
--------------
contrib/pgcrypto/expected/3des.out | 74 ++++----
contrib/pgcrypto/expected/blowfish.out | 221 ++++++++++-------------
contrib/pgcrypto/expected/blowfish_1.out | 85 +++------
contrib/pgcrypto/expected/cast5.out | 87 ++++-----
contrib/pgcrypto/expected/cast5_1.out | 35 +---
contrib/pgcrypto/expected/des.out | 61 +++----
contrib/pgcrypto/expected/des_1.out | 21 +--
contrib/pgcrypto/expected/hmac-md5.out | 86 ++++-----
contrib/pgcrypto/expected/hmac-sha1.out | 86 ++++-----
contrib/pgcrypto/expected/init.out | 15 --
contrib/pgcrypto/expected/md5.out | 56 +++---
contrib/pgcrypto/expected/pgp-armor.out | 30 ++-
contrib/pgcrypto/expected/pgp-decrypt.out | 56 +++---
contrib/pgcrypto/expected/pgp-decrypt_1.out | 56 +++---
contrib/pgcrypto/expected/pgp-encrypt.out | 30 ++-
contrib/pgcrypto/expected/pgp-pubkey-encrypt.out | 10 +-
contrib/pgcrypto/expected/rijndael.out | 157 ++++++++--------
contrib/pgcrypto/expected/sha1.out | 56 +++---
contrib/pgcrypto/expected/sha2.out | 176 +++++++++---------
contrib/pgcrypto/sql/3des.sql | 28 ++-
contrib/pgcrypto/sql/blowfish.sql | 91 +++-------
contrib/pgcrypto/sql/cast5.sql | 35 +---
contrib/pgcrypto/sql/des.sql | 21 +--
contrib/pgcrypto/sql/hmac-md5.sql | 44 ++---
contrib/pgcrypto/sql/hmac-sha1.sql | 44 ++---
contrib/pgcrypto/sql/init.sql | 7 -
contrib/pgcrypto/sql/md5.sql | 14 +-
contrib/pgcrypto/sql/pgp-armor.sql | 14 +-
contrib/pgcrypto/sql/pgp-decrypt.sql | 26 +--
contrib/pgcrypto/sql/pgp-encrypt.sql | 14 +-
contrib/pgcrypto/sql/pgp-pubkey-encrypt.sql | 6 +-
contrib/pgcrypto/sql/rijndael.sql | 75 ++++----
contrib/pgcrypto/sql/sha1.sql | 14 +-
contrib/pgcrypto/sql/sha2.sql | 44 ++---
34 files changed, 820 insertions(+), 1055 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-12-08 05:58:56 pgsql: De-duplicate the result of pg_publication_tables view.
Previous Message Michael Paquier 2021-12-08 03:36:59 pgsql: Improve parsing of options of CREATE/ALTER SUBSCRIPTION