Re: libpq: Process buffered SSL read bytes to support records >8kB on async API

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: solai v <solai(dot)cdac(at)gmail(dot)com>, Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Lars Kanis <lars(at)greiz-reinsdorf(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Merlin Moncure <mmoncure(at)gmail(dot)com>
Subject: Re: libpq: Process buffered SSL read bytes to support records >8kB on async API
Date: 2026-07-07 15:58:42
Message-ID: be2f229a-25e8-4d19-a307-e4ce3312f212@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03/07/2026 12:25, Heikki Linnakangas wrote:
> On 14/05/2026 07:32, solai v wrote:
>> Hi,
>> i tested the latest V3 patch series on current postgreSQL HEAD with
>> SSL enabled.The patches applied cleanly,build succeeded,and the server
>> started successfully.I ran the async libpq test repeatedly and also
>> tested large COPY TO STDOUT operations over SSL.I did not observe
>> hangs,crashes,or visible regressions during testing.
>
> Thanks for the testing!
>
> Here's another patch version, with some small comment and commit message
> changes, and I split the changes slightly differently between the two
> patches. End result is otherwise the same.
>
> I plan to commit this in the next few days.

Committed and backpatched to all supported versions. Thanks everyone!

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-07-07 16:03:13 Re: remove unnecessary volatile qualifiers
Previous Message Tristan Partin 2026-07-07 15:54:45 Re: Add malloc attribute to memory allocation functions