Re: Use read streams in pg_visibility - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Use read streams in pg_visibility
Date
Msg-id 20240903192030.1e@rfd.leadboat.com
Whole thread Raw
In response to Re: Use read streams in pg_visibility  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Tue, Sep 03, 2024 at 10:50:11AM -0700, Noah Misch wrote:
> On Mon, Sep 02, 2024 at 03:20:12PM +0300, Nazir Bilal Yavuz wrote:
> > Thanks, updated patches are attached.
> 
> > +/*
> > + * Ask the callback which block it would like us to read next, with a small
> > + * buffer in front to allow read_stream_unget_block() to work and to allow the
> > + * fast path to skip this function and work directly from the array.
> >   */
> >  static inline BlockNumber
> >  read_stream_get_block(ReadStream *stream, void *per_buffer_data)
> 
> v4-0001-Add-general-use-struct-and-callback-to-read-strea.patch introduced
> this update to the read_stream_get_block() header comment, but we're not
> changing read_stream_get_block() here.  I reverted this.
> 
> Pushed with some other cosmetic changes.

I see I pushed something unacceptable under ASAN.  I will look into that:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=grassquit&dt=2024-09-03%2017%3A47%3A20



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Minor cleanups in the SSL tests
Next
From: Christoph Berg
Date:
Subject: Re: Set log_lock_waits=on by default