Re: New functions

Поиск
Список
Период
Сортировка
От Воронин Дмитрий
Тема Re: New functions
Дата
Msg-id 8188391425914214@web7j.yandex.ru
обсуждение исходный текст
Ответ на Re: New functions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
<p>You're right. <br /><br />I changed:<br /> - at sslinfo.contol return default module version to '1.0';<br /> -
functionget_extension() returns now boolean (true, if we found extension, and false otherwise).<br /><br />09.03.2015,
16:43,"Alvaro Herrera" <<a
href="mailto:alvherre@2ndquadrant.com">alvherre@2ndquadrant.com</a>>:<blockquote> DmitryVoronin wrote:<br
/><blockquote>  <div><pre>Hello,<br/>  </pre><pre>I make an a patch, which adds 4 functions to
sslinfoextension module:<br />1) ssl_extension_names() --- get short names of X509v3 extensions from client
certificateand it's values;<br />  2) ssl_extension_value(text) --- get value of extension from certificate (argument
---short name of extension);<br />  3) ssl_extension_is_critical(text) --- returns true, if extension is critical and
false,if is not (argument --- short name of extension).<br /><br />  You can view some information of certificate's
extensionsvia those functions.</blockquote> Since you change default version from 1.0 to 1.1 you need to supply the<br
/> sslinfo--1.1.sqlscript.  You also need to supply a sslinfo--1.0--1.1.sql<br /> script which enables updates from
version1.0 to 1.1.<br /><br /> (The test for the upgrade is to initdb 9.4, and in some database install<br /> the
sslinfoextension; then pg_upgrade to a version with your patch.  In<br /> the database with the extension then try to
upgradeit to 1.1.)<br /><br /> Please use C type bool not int when that's what the code means.<br /><br /> --<br
/> ÁlvaroHerrera                <a href="http://www.2ndQuadrant.com/">http://www.2ndQuadrant.com/</a><br /> PostgreSQL
Development,24x7 Support, Remote DBA, Training & Services</blockquote><p>-- <br />Best regards, Dmitry Voronin 

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

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