Re: ecdh support causes unnecessary roundtrips - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: ecdh support causes unnecessary roundtrips
Date
Msg-id 5C2F5B2D-23B5-44C0-96D2-D57781F18FE2@yesql.se
Whole thread Raw
In response to Re: ecdh support causes unnecessary roundtrips  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ecdh support causes unnecessary roundtrips
List pgsql-hackers
>> Maybe we can create a lightweight throw-away context in a check hook and ensure
>> the settings work?
>
> Yeah, I was envisioning something like that.  The main trick would be
> to ensure that we can't error out, but given that we'd mostly be
> calling OpenSSL code, ensuring that there's no ereport(ERROR)
> shouldn't be too hard.

This is sort being added as already as part of the SNI patchset, so I'll see if
I can steal something from there in case that seems to miss the v19 train.

> But I'd counsel getting the easy bits (1) and (2) out of the way
> first.

Absolutely, the attached is what I had planned for addressing this.

--
Daniel Gustafsson


Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: pgstat include expansion
Next
From: Nathan Bossart
Date:
Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD