Extend configure_test_server_for_ssl to add extensions
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 30 Nov 2021 10:13:26 +0000 (11:13 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 30 Nov 2021 10:13:26 +0000 (11:13 +0100)
commit879fc1a579cc2e2e1dbb79686668b4de2071ab83
treed017520b89b392fa093aa81d6fee62e1b38e3079
parentbe5455124b0f073ba3924ae2ba302a27b1686230
Extend configure_test_server_for_ssl to add extensions

In order to be able to test extensions with SSL connections, allow
configure_test_server_for_ssl to create any extensions passed as
an array. Each extension is created in all the test databases.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/E23F9811-0C77-45DA-912F-D809AB140741@yesql.se
src/test/ssl/t/002_scram.pl
src/test/ssl/t/SSLServer.pm