Re: contrib/sslinfo cleanup and OpenSSL errorhandling

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: contrib/sslinfo cleanup and OpenSSL errorhandling
Date: 2020-10-30 22:20:16
Message-ID: 0A696874-89E4-4742-B19D-303B17A8FCA6@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 30 Oct 2020, at 00:40, Andres Freund <andres(at)anarazel(dot)de> wrote:

> There's quite a few copies of this code that look exactly the same,
> except for the be_tls_get_* call. Do you see a way to have fewer copies
> of the same code?

There's really only two of the same, and two sets of those. I tried some
variations but didn't really achieve anything that would strike the right
balance on the codegolf-to-readability scale. Maybe others have a richer
imagination than me.

cheers ./daniel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2020-10-30 22:23:27 Re: Consistent error reporting for encryption/decryption in pgcrypto
Previous Message Tom Lane 2020-10-30 22:12:19 Re: making update/delete of inheritance trees scale better