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

From Andres Freund
Subject Re: tid_blockno() and tid_offset() accessor functions
Date
Msg-id e7i24ywpdlac6cutvcfq5wg2jgwkmy3i42hxr2djbms4c64bps@el7zd7fgzqrh
Whole thread
In response to Re: tid_blockno() and tid_offset() accessor functions  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
Responses Re: tid_blockno() and tid_offset() accessor functions
List pgsql-hackers
Hi,

On 2026-03-14 14:31:32 +0530, Ayush Tiwari wrote:
> Attaching a patch with all document changes, removed the cross-reference to
> datatype-oid entirely. I've moved the &func-tid; entry in func.sgml to
> directly follow &func-textsearch;, which fits better alphabetically, and
> reworded the introductory paragraph to be much more concise, directly
> pointing to the table.

Pushed this after making some small changes (removed some IMO unnecessary
comments, replaced <type>TID</type> with <acronym/>, as TID is not the type's
name, ...).

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.

Closed the CF entry.

Thanks for the patch!

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: warda Bibi
Date:
Subject: Re: Additional message in pg_terminate_backend
Next
From: Heikki Linnakangas
Date:
Subject: Re: Better shared data structure management and resizable shared data structures