pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte

pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte

pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte

pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte

pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte

pgsql: Refactor test_escape.c for additional ways of testing.

2025-05-08 Thread Noah Misch
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 supporte