diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-10-17 14:21:26 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-10-17 14:21:26 +0200 |
commit | 7d129ba54e7425baf43aa518d417ba3e4e94a443 (patch) | |
tree | d643dc4b515cac6ab361df6f2b237ec272cdb7f1 /src/backend/executor/nodeMergeAppend.c | |
parent | e1a912c86d5205371b043772aa89908f2452cbf0 (diff) |
Avoid warnings in tests when openssl binary isn't available
The SSL tests for pg_stat_ssl tries to exactly match the serial
from the certificate by extracting it with the openssl binary.
If that fails due to the binary not being available, a fallback
match is used, but the attempt to execute a missing binary adds
a warning to the output which can confuse readers for a failure
in the test. Fix by only attempting if the openssl binary was
found by autoconf/meson.
Backpatch down to v16 where commit c8e4030d1bdd made the test
use the OPENSSL variable from autoconf/meson instead of a hard-
coded value.
Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Christoph Berg <myon@debian.org>
Discussion: https://postgr.es/m/aNPSp1-RIAs3skZm@msg.df7cb.de
Backpatch-through: 16
Diffstat (limited to 'src/backend/executor/nodeMergeAppend.c')
0 files changed, 0 insertions, 0 deletions