Re: SSL Tests for sslinfo extension

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: SSL Tests for sslinfo extension
Дата
Msg-id 09FAE16B-DDE3-4EB3-AEBA-7E31279AA173@yesql.se
обсуждение исходный текст
Ответ на Re: SSL Tests for sslinfo extension  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: SSL Tests for sslinfo extension  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> On 19 May 2021, at 21:05, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> On 5/19/21 1:01 PM, Dagfinn Ilmari Mannsåker wrote:
>> Daniel Gustafsson <daniel@yesql.se> 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
Дата:
Сообщение: Re: CALL versus procedures with output-only arguments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Subscription tests fail under CLOBBER_CACHE_ALWAYS