| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Refactor test_escape.c for additional ways of testing. |
| Date: | 2025-05-05 11:52:35 |
| Message-ID: | E1uBuN8-000FUz-2Q@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)mshk(at)gmail(dot)com>
Backpatch-through: 13
Security: CVE-2025-4207
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/258cde839d902ad9dd41cbd7ab58ebf4ba086874
Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++--------------
1 file changed, 82 insertions(+), 80 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2025-05-05 14:57:52 | Re: pgsql: Add function to log the memory contexts of specified backend pro |
| Previous Message | Peter Eisentraut | 2025-05-05 10:30:37 | pgsql: Translation updates |