postgresql/src
Melanie Plageman 284925508a Remove table_scan_analyze_next_tuple unneeded parameter OldestXmin
heapam_scan_analyze_next_tuple() doesn't distinguish between dead and
recently dead tuples when counting them, so it doesn't need OldestXmin.
GetOldestNonRemovableTransactionId() isn't free, so removing it is a
win.

Looking at other table AMs implementing table_scan_analyze_next_tuple(),
we couldn't find one using OldestXmin either, so remove it from the
callback.

Author: Melanie Plageman <melanieplageman@gmail.com>
Suggested-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/CALdSSPjvhGXihT_9f-GJabYU%3D_PjrFDUxYaURuTbfLyQM6TErg%40mail.gmail.com
2026-02-26 15:41:53 -05:00
..
backend Remove table_scan_analyze_next_tuple unneeded parameter OldestXmin 2026-02-26 15:41:53 -05:00
bin Add non-text output formats to pg_dumpall 2026-02-26 08:29:56 -05:00
common meson: allow disabling building/installation of static libraries. 2026-02-23 16:45:40 +01:00
fe_utils Fix variety of typos and grammar mistakes 2026-02-24 13:26:37 +09:00
include Remove table_scan_analyze_next_tuple unneeded parameter OldestXmin 2026-02-26 15:41:53 -05:00
interfaces libpq: Grease the protocol by default 2026-02-23 10:48:20 -08:00
makefiles Restore AIX support. 2026-02-23 13:34:22 -05:00
pl EUC_CN, EUC_JP, EUC_KR, EUC_TW: Skip U+00A0 tests instead of failing. 2026-02-25 18:13:22 -08:00
port Fix USE_SLICING_BY_8_CRC32C builds on x86 2026-02-25 08:44:59 +07:00
template Restore AIX support. 2026-02-23 13:34:22 -05:00
test Stabilize output of new isolation test insert-conflict-do-update-4. 2026-02-25 10:51:42 -05:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools Add non-text output formats to pg_dumpall 2026-02-26 08:29:56 -05:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in tests: Add a test C++ extension module 2026-01-20 16:42:30 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00