On Sun, Feb 19, 2023 at 11:55:38PM +0100, Joel Jacobson wrote: > To fix, a init_var() in alloc_var() is needed when we will use the > fixed_buf instead of allocating, > since alloc_var() could be called in a loop for existing values, > like in sqrt_var() for instance. > > Attached new version produces similar benchmark results, even with the extra > init_var():
Perhaps you should register this patch to the commit of March? Here it is: https://commitfest.postgresql.org/42/ -- Michael
signature.asc
Description: PGP signature