Re: New functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: New functions
Дата
Msg-id 20150309134354.GM3291@alvh.no-ip.org
обсуждение исходный текст
Ответ на New functions  (Dmitry Voronin <carriingfate92@yandex.ru>)
Ответы Re: New functions  (Воронин Дмитрий <carriingfate92@yandex.ru>)
Список pgsql-hackers
Dmitry Voronin wrote:
> <div><pre>Hello,
> </pre><pre>I make an a patch, which adds 4 functions to sslinfo extension module:<br />1) ssl_extension_names() ---
getshort names of X509v3 extensions from client certificate and it's values; 
> 2) ssl_extension_value(text) --- get value of extension from certificate (argument --- short name of extension);
> 3) ssl_extension_is_critical(text) --- returns true, if extension is critical and false, if is not (argument ---
shortname of extension). 
>
> You can view some information of certificate's extensions via those functions.

Since you change default version from 1.0 to 1.1 you need to supply the
sslinfo--1.1.sql script.  You also need to supply a sslinfo--1.0--1.1.sql
script which enables updates from version 1.0 to 1.1.

(The test for the upgrade is to initdb 9.4, and in some database install
the sslinfo extension; then pg_upgrade to a version with your patch.  In
the database with the extension then try to upgrade it to 1.1.)

Please use C type bool not int when that's what the code means.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: Object files generated by ecpg test suite not ignored on Windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Object files generated by ecpg test suite not ignored on Windows