Re: Some read stream improvements

From: Andres Freund <andres(at)anarazel(dot)de>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Some read stream improvements
Date: 2025-04-07 01:29:53
Message-ID: 7pv7xtu35x2qpg36xdwdmbexpzhf4eyulqarwjbpizeao2hqvv@aahbmhntgy2f
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2025-04-03 14:43:40 +1300, Thomas Munro wrote:
> On Thu, Apr 3, 2025 at 11:17 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> > I don't actually see any reason for buffer_limit to be a 16bit quantity? It's
> > just to clamp things down, right?
>
> Ugh. It might be worth just flipping this whole thing over to ints,
> let me look into that...

If you don't mind I'll push the obvious minimal fix soon - it's a confusing
crash when one encounters this issue...

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2025-04-07 01:33:18 Re: Some read stream improvements
Previous Message Daniel Gustafsson 2025-04-07 00:55:07 Re: Possibly hard-to-read message