Re: SSL Tests for sslinfo extension

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: SSL Tests for sslinfo extension
Дата
в 18:40:48
Msg-id
09FAE16B-DDE3-4EB3-AEBA-7E31279AA173@yesql.se
Ответ на
Список
Дерево обсуждения
SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Re: SSL Tests for sslinfo extension Andrew Dunstan <andrew@dunslane.net>
Re: SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension Michael Paquier <michael@paquier.xyz>
Re: SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension Tom Lane <tgl@sss.pgh.pa.us>
Re: SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension Tom Lane <tgl@sss.pgh.pa.us>
Re: SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension Daniel Gustafsson <daniel@yesql.se>
Re: SSL Tests for sslinfo extension Michael Paquier <michael@paquier.xyz>
> On 19 May 2021, at 21:05, Andrew Dunstan  wrote:
> 
> On 5/19/21 1:01 PM, Dagfinn Ilmari Mannsåker wrote:
>> Daniel Gustafsson  writes:
>> 
>>> In order to be able to test extensions with SSL connections, allow
>>> configure_test_server_for_ssl to create any extensions passed as
>>> comma separated list. Each extension is created in all the test
>>> databases which may or may not be useful.
>> Why the comma-separated string, rather than an array reference,
>> i.e. `extensions => [qw(foo bar baz)]`?  

No real reason, I just haven't written Perl enough lately to "think in Perl".
Fixed in the attached.

>> Also, should it use `CREATE
>> EXTENSION .. CASCADE`, in case the specified extensions depend on
>> others?

Good point.  Each extension will have to be in EXTRA_INSTALL as well of course,
but we should to CASCADE.

> Also, instead of one line per db there should be an inner loop over the
> db  names.

Right, I was lazily using the same approach as for CREATE DATABASE but when the
list is used it two places it should be a proper list.  Fixed in the attached.

--
Daniel Gustafsson		https://vmware.com/

В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата:
От: Tom Lane
Дата:
FAQ