Extend configure_test_server_for_ssl to add extensions

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: 879fc1a579cc2e2e1dbb79686668b4de2071ab83
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2021-11-30T10:13:26Z
Releases: 15.0
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

Files

PathChange+/−
src/test/ssl/t/002_scram.pl modified +1 −1
src/test/ssl/t/SSLServer.pm modified +27 −13

Discussion