pgsql: Use library functions to edit config in SSL tests

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use library functions to edit config in SSL tests
Date: 2024-09-03 17:02:16
Message-ID: E1slWv2-000QTR-7p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use library functions to edit config in SSL tests

The SSL tests were editing the postgres configuration by directly
reading and writing the files rather than using append_conf() from
the testcode library.

Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/01F4684C-8C98-4BBE-AB83-AC8D7C746AF8@yesql.se

Branch
------
master

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

Modified Files
--------------
src/test/ssl/t/SSL/Server.pm | 81 +++++++++++++++++++++-----------------------
1 file changed, 39 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2024-09-03 17:46:57 pgsql: Add block_range_read_stream_cb(), to deduplicate code.
Previous Message Alexander Korotkov 2024-09-03 13:45:00 Re: pgsql: Implement pg_wal_replay_wait() stored procedure