Remove incidental md5() function uses from several tests

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Remove incidental md5() function uses from several tests
Date: 2023-06-07 06:59:14
Message-ID: f9b480b5-e473-d2d1-223a-4b9db30a229a@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Continuing the work started with 208bf364a9, this patch removes md5()
function calls from these test suites:

- bloom
- test_decoding
- isolation
- recovery
- subscription

This covers all remaining test suites where md5() calls were just used
to generate some random data and can be replaced by appropriately
adapted sha256() calls. Unlike for the main regression tests, I didn't
write a fipshash() wrapper here, because that would have been too
repetitive and wouldn't really save much here. In some cases it was
easier to remove one layer of indirection by changing column types from
text to bytea.

Attachment Content-Type Size
0001-Remove-incidental-md5-function-uses-from-several-tes.patch text/plain 32.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jiye 2023-06-07 07:12:44 Re: confusion about this commit "Revert "Skip redundant anti-wraparound vacuums""
Previous Message Julien Rouhaud 2023-06-07 06:00:00 Re: confusion about this commit "Revert "Skip redundant anti-wraparound vacuums""