Refactor test_escape.c for additional ways of testing. Start the file with static functions not specific to pe_test_vectors tests. This way, new tests can use them without disrupting the file's layout. Change report_result() PQExpBuffer arguments to plain strings. Back-patch to v13 (all supported versions), for the next commit.
Reviewed-by: Masahiko Sawada <sawada.m...@gmail.com> Backpatch-through: 13 Security: CVE-2025-4207 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/617d34908b5dd1a7a643e82af871fa5b69a37491 Modified Files -------------- src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++-------------- 1 file changed, 82 insertions(+), 80 deletions(-)