Re: New functions in sslinfo module - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: New functions in sslinfo module
Date
Msg-id 53B47FAF.9060004@proxel.se
Whole thread Raw
In response to Re: New functions in sslinfo module  (Воронин Дмитрий <carriingfate92@yandex.ru>)
Responses Re: New functions in sslinfo module  (Воронин Дмитрий <carriingfate92@yandex.ru>)
List pgsql-hackers
On 07/02/2014 02:17 PM, Воронин Дмитрий wrote:
> I apologize, that I am writing this message today. Thank you for testing
> my patch!

You are welcome!

> I will modify functions ssl_extensions(), that it returns a set (key,
> value). Could you get me an example of code those function?

You can look at hstore_each() in hstore_op.c.

>   >>> - Why are X509_NAME_field_to_text(), X509_NAME_to_text(),
> ASN1_STRING_to_text() and get_extension() not static? None of these are
> a symbol which should be exported.
>  >>> Why do you use pg_do_encoding_conversion() over pg_any_to_server()?
> pg_any_to_server() is implemented using pg_do_encoding_conversion().
>
> I don't write a code of those functions and I can't answer on your question.

Hm, I thought I saw them changed from static to not in the diff after 
applying your patch. Maybe I just misread the patch.

-- 
Andreas Karlsson



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Can simplify 'limit 1' with slow function?
Next
From: Tom Lane
Date:
Subject: Re: Can simplify 'limit 1' with slow function?