↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Development versions: 19 / 20devel
Development snapshot. PostgreSQL 20devel has not been released. Content may change.

9.14. TID Functions #

Table 9.45 lists functions for the tid data type (tuple identifier).

Table 9.45. TID Functions

Function

Description

Example(s)

tid_block ( tid ) → bigint

Extracts the block number from a tuple identifier.

tid_block('(42,7)'::tid) → 42

tid_offset ( tid ) → integer

Extracts the tuple offset within the block from a tuple identifier.

tid_offset('(42,7)'::tid) → 7


Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.