Re: Decoupling our alignment assumptions about int64 and double

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Decoupling our alignment assumptions about int64 and double
Date: 2026-01-30 01:21:20
Message-ID: 1694571.1769736080@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here's a v2 responding to your suggestions. 0001 refactors
att_align_nominal(), and then 0002 is nearly the same as the
prior patch except for rebasing over that change. I added
a test case for alignment = max too (the other cases seem
covered already, somewhat indirectly via pg_upgrade testing).

I think this might be about ready to go, unless somebody has
a better idea than 'l' for the catalog representation of
TYPALIGN_INT64.

regards, tom lane

Attachment Content-Type Size
v2-0001-Refactor-att_align_nominal-to-improve-performance.patch text/x-diff 35.7 KB
v2-0002-Decouple-our-alignment-assumptions-about-int64-an.patch text/x-diff 49.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-01-30 01:22:16 Re: Proposal: Cascade REPLICA IDENTITY changes to leaf partitions
Previous Message Alexander Borisov 2026-01-30 00:18:32 Re: Non-committer reviews: is it helpful?