]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Inline TransactionIdFollows/Precedes[OrEquals]()
authorMelanie Plageman <melanieplageman@gmail.com>
Tue, 14 Oct 2025 21:03:48 +0000 (17:03 -0400)
committerMelanie Plageman <melanieplageman@gmail.com>
Tue, 14 Oct 2025 21:03:48 +0000 (17:03 -0400)
commit43b05b38ea4d03a0ee9a09f08a9559bc0ca6d7ad
treef69220621527c31ce973ba3fd2ad20cbba62e88f
parentc8dd6542bae42744c676234dca45972e2cc3dfb2
Inline TransactionIdFollows/Precedes[OrEquals]()

These functions appeared prominently in a profile of a patch that sets
the visibility map on-access. Inline them to remove call overhead and
make them cheaper to use in hot paths.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/2wk7jo4m4qwh5sn33pfgerdjfujebbccsmmlownybddbh6nawl%40mdyyqpqzxjek
src/backend/access/transam/transam.c
src/include/access/transam.h