Hi, On 2019-02-18 20:29:29 -0500, Tom Lane wrote: > Andres Freund <and...@anarazel.de> writes: > > but it's smaller (althoug there's plenty trailing space). > > I think you're supposing that these things are independently palloc'd, but > they aren't --- dynahash lays them out in arrays without palloc padding.
I don't think that matters, given that the trailing six bytes are included in sizeof() (and have to, to guarantee suitable alignment in arrays etc). Greetings, Andres Freund