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

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgcrypto: Remove explicit hex encoding/decoding from tests
Date: 2021-12-02 09:46:46
Message-ID: A6E97656-FE20-489B-806D-D6356EAE12E6@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 2 Dec 2021, at 10:22, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2021-12-02 10:01:47 Re: pg_dump versus ancient server versions
Previous Message Daniel Gustafsson 2021-12-02 09:42:02 Re: Is ssl_crl_file "SSL server cert revocation list"?