Re: PgStat_HashKey padding issue when passed by reference - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: PgStat_HashKey padding issue when passed by reference
Date
Msg-id CAA5RZ0umevFhNw8m-FqM8cXg8Ke4akR9fG55vkRXaUaQSrX9sw@mail.gmail.com
Whole thread Raw
In response to Re: PgStat_HashKey padding issue when passed by reference  (Michael Paquier <michael@paquier.xyz>)
Responses Re: PgStat_HashKey padding issue when passed by reference
List pgsql-hackers
> On Thu, Sep 18, 2025 at 11:52:05AM -0500, Sami Imseih wrote:
> > v2 looks good to me. Not sure if there are edge cases in which
> > the assert will succeed even with padding (I can't think of any way
> > that will be possible),  so for now what you have seems good enough.
>
> Okay, I've applied that on HEAD, then.  I didn't see an urge in
> backpatching it.  If there is an ask to do so, I could always do so
> later.
> --
> Michael

Thank you! I update the CF entry [0] as committed.

[0] https://commitfest.postgresql.org/patch/6033/

--
Sami



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: allow benign typedef redefinitions (C11)
Next
From: Michael Paquier
Date:
Subject: Re: PgStat_HashKey padding issue when passed by reference