pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Refactor test_escape.c for additional ways of testing.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@gmail.com>
Backpatch-through: 13
Security: CVE-2025-4207

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5be213caaa1a9a65dfdbbf400b6a53b5e743b8d1

Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++--------------
1 file changed, 82 insertions(+), 80 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@gmail.com>
Backpatch-through: 13
Security: CVE-2025-4207

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f3bb0b2c4a1a09efa18a76a153269d24980163d4

Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++--------------
1 file changed, 82 insertions(+), 80 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@gmail.com>
Backpatch-through: 13
Security: CVE-2025-4207

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/45fe7e08f00ae90904da0a404159db08e1e7390b

Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++--------------
1 file changed, 82 insertions(+), 80 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@gmail.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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Refactor test_escape.c for additional ways of testing.
@ 2025-05-05 11:52 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2025-05-05 11:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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.mshk@gmail.com>
Backpatch-through: 13
Security: CVE-2025-4207

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7279e58205813305fc09d2cc9977731c05014b84

Modified Files
--------------
src/test/modules/test_escape/test_escape.c | 162 +++++++++++++++--------------
1 file changed, 82 insertions(+), 80 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-05-05 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>
2025-05-05 11:52 pgsql: Refactor test_escape.c for additional ways of testing. Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox