Re: pgcrypto: Remove explicit hex encoding/decoding from tests - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pgcrypto: Remove explicit hex encoding/decoding from tests
Date
Msg-id A6E97656-FE20-489B-806D-D6356EAE12E6@yesql.se
Whole thread Raw
In response to pgcrypto: Remove explicit hex encoding/decoding from tests  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List 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
wasavailable 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/




pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Is ssl_crl_file "SSL server cert revocation list"?
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_dump versus ancient server versions