Re: Make tuple deformation faster

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Victor Yegorov <vyegorov@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Matthias van de Meent <boekewurm+postgres@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-03T03:54:48Z
Lists: pgsql-hackers
On Mon, 2 Dec 2024 at 23:24, David Rowley <dgrowleyml@gmail.com> wrote:
> I spent all day today reviewing and fixing up a few missing comments
> for the v5 patch series. I'm quite happy with these now. If nobody
> else wants to look or test, I plan on pushing these tomorrow (Tuesday
> UTC+13). If anyone wants me to delay so they can look, they better let
> me know soon.

After making some last-minute cosmetic adjustments, I've just pushed
the 0001 patch.

I planning on pushing up to 0004 over the next 8 hours, pending
feedback from the buildfarm.

David



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix possible Assert failure in verify_compact_attribute()

  2. Speedup tuple deformation with additional function inlining

  3. Fix race condition in TupleDescCompactAttr assert code

  4. Optimize alignment calculations in tuple form/deform

  5. Remove pg_attribute.attcacheoff column

  6. Introduce CompactAttribute array in TupleDesc, take 2

  7. Introduce CompactAttribute array in TupleDesc

  8. Use TupleDescAttr macro consistently