diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-08-18 08:18:09 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-08-18 08:18:09 +0900 |
commit | 97ca67377aa289762af432c96c5204685b3ecd21 (patch) | |
tree | 2e9a90bf583ee0b4fee15c23a9eccfa695e3e6d8 /src | |
parent | 5a8ab650a782ffb78325fa66607a5fbb25c5c74a (diff) |
Remove md5() call from isolation test for CLUSTER and TOAST
This test was failing because MD5 computations are not supported in
these environments. This switches the test to rely on sha256() instead,
providing the same coverage while avoiding the failure.
Oversight in f57e214d1cbb. Per buildfarm members gecko, molamola,
shikra and froghopper.
Discussion: https://postgr.es/m/aKJijS2ZRfRZiYb0@paquier.xyz
Diffstat (limited to 'src')
-rw-r--r-- | src/test/isolation/specs/cluster-toast-value-reuse.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/isolation/specs/cluster-toast-value-reuse.spec b/src/test/isolation/specs/cluster-toast-value-reuse.spec index 1930eedb850..9a2d10600b3 100644 --- a/src/test/isolation/specs/cluster-toast-value-reuse.spec +++ b/src/test/isolation/specs/cluster-toast-value-reuse.spec @@ -27,7 +27,7 @@ setup -- Seed data: one row with big string to force TOAST tuple and trigger the todo=0 code path. INSERT INTO cluster_toast_value(flag, value) - VALUES (0, repeat(md5('1'), 120) || repeat('x', 8000)); + VALUES (0, repeat(encode(sha256('1'), 'hex'), 120) || repeat('x', 8000)); CLUSTER cluster_toast_value; } |