Re: tid_blockno() and tid_offset() accessor functions - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: tid_blockno() and tid_offset() accessor functions
Date
Msg-id 202604051942.hm4eg3s7fzcs@alvherre.pgsql
Whole thread Raw
In response to Re: tid_blockno() and tid_offset() accessor functions  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hello

On 2026-Apr-05, Andres Freund wrote:

> I was reminded of this thread while in the process of doing some performance
> validation that required getting all the block numbers from an index scan,
> which required me to remember (ctid::text::point)[0], which I find to be very
> ugly.

Thanks for this patch!  I agree that the statu quo was sort of embarrasing :-)

Regards

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Parallel Bitmap Heap Scan reports per-worker stats in EXPLAIN ANALYZE
Next
From: Matthias van de Meent
Date:
Subject: Re: Better shared data structure management and resizable shared data structures