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

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-12-02T09:46:46Z
Lists: pgsql-hackers
> On 2 Dec 2021, at 10:22, Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:

> pgcrypto tests use encode() and decode() calls to convert to/from hex encoding.  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.

My eyes glazed over a bit but definitely a +1 on the idea.

--
Daniel Gustafsson		https://vmware.com/




Commits

  1. pgcrypto: Remove explicit hex encoding/decoding from tests