Re: Snapshot scalability patch issue - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Snapshot scalability patch issue
Date
Msg-id 20210216013012.5cjmebjcqyqtx3wp@alap3.anarazel.de
Whole thread Raw
In response to Re: Snapshot scalability patch issue  (Andres Freund <andres@anarazel.de>)
Responses Re: Snapshot scalability patch issue
List pgsql-hackers
Hi,

On 2021-02-15 15:08:40 -0800, Andres Freund wrote:
> On 2021-02-14 18:42:18 -0800, Peter Geoghegan wrote:
> > The call to heap_page_prune() within lazy_scan_heap() passes a bool
> > literal ('false') as its fourth argument. But the fourth argument is
> > of type TransactionId, not bool. This has been the case since the
> > snapshot scalability work performed by commit dc7420c2c92. Surely
> > something is amiss here.
> 
> Looks like I accidentally swapped the InvalidTransactionId and false
> around - luckily they have the same actual bit pattern...
> 
> I do wish C could pass arguments by name.
> 
> I'll push something once I'm back at my computer...

Done. Thanks for noticing/reporting!

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Aleksei Ivanov
Date:
Subject: Fwd: Row description Metadata information
Next
From: Peter Geoghegan
Date:
Subject: Re: Snapshot scalability patch issue