Re: Some read stream improvements - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Some read stream improvements
Date
Msg-id CA+hUKG+1BAKVcJO=EiTb_eH8f+Kba-XZUY-76o7SoCyq2R=t=w@mail.gmail.com
Whole thread Raw
In response to Re: Some read stream improvements  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, Apr 7, 2025 at 1:29 PM Andres Freund <andres@anarazel.de> wrote:
> On 2025-04-03 14:43:40 +1300, Thomas Munro wrote:
> > On Thu, Apr 3, 2025 at 11:17 AM Andres Freund <andres@anarazel.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...

Please go ahead, sorry I got distracted trying to fix something else...



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Some read stream improvements
Next
From: Sami Imseih
Date:
Subject: Re: rename pg_log_standby_snapshot