postgresql/src/backend
Andres Freund df09452c32 bufmgr: Make buffer hit helper
Already two places count buffer hits, requiring quite a few lines of
code since we do accounting in so many places. Future commits will add
more locations, so refactor into a helper.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/zljergweqti7x67lg5ije2rzjusie37nslsnkjkkby4laqqbfw@3p3zu522yykv
2026-03-26 12:07:05 -04:00
..
access Avoid sending duplicate WAL locations in standby status replies 2026-03-26 20:54:32 +09:00
archive Don't include wait_event.h in pgstat.h 2026-03-06 16:24:58 +01:00
backup Add missing deflateEnd() for server-side gzip base backups 2026-03-23 09:04:44 +09:00
bootstrap Reduce header inclusions via execnodes.h 2026-03-16 14:34:57 +01:00
catalog Refactor to remove ForeignServerName(). 2026-03-24 15:20:28 -07:00
commands Refactor to remove ForeignServerName(). 2026-03-24 15:20:28 -07:00
executor Make many cast functions error safe 2026-03-24 12:08:22 +01:00
foreign Refactor to remove ForeignServerName(). 2026-03-24 15:20:28 -07:00
jit Reduce header inclusions via execnodes.h 2026-03-16 14:34:57 +01:00
lib dshash: Make it possible to suppress out of memory errors 2026-03-19 11:51:17 -04:00
libpq ssl: Serverside SNI support for libpq 2026-03-18 12:37:11 +01:00
main Update copyright for 2026 2026-01-01 13:24:10 -05:00
nodes Allow IS JSON predicate to work with domain types 2026-03-17 15:20:22 -04:00
optimizer Respect disabled_nodes in fix_alternative_subplan. 2026-03-26 10:25:04 -04:00
parser Don't include storage/lock.h in so many headers 2026-03-24 17:11:12 +01:00
partitioning Fix -Wcast-qual warning 2026-03-26 15:00:24 +01:00
po Update copyright for 2026 2026-01-01 13:24:10 -05:00
port Disable warnings in system headers in MSVC 2026-03-25 15:03:52 +01:00
postmaster Remove unused autovac_table.at_sharedrel 2026-03-25 18:24:34 +01:00
regex Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
replication Avoid sending duplicate WAL locations in standby status replies 2026-03-26 20:54:32 +09:00
rewrite Fix some typos and make small stylistic improvements 2026-03-25 09:17:40 +01:00
snowball Fix meson build of snowball code. 2026-01-05 16:51:36 -05:00
statistics Fix inconsistency with HeapTuple freeing in extended_stats_funcs.c 2026-03-06 14:49:00 +09:00
storage bufmgr: Make buffer hit helper 2026-03-26 12:07:05 -04:00
tcop Reduce header inclusions via execnodes.h 2026-03-16 14:34:57 +01:00
tsearch Require superuser to install a non-built-in selectivity estimator. 2026-02-09 10:07:31 -05:00
utils Add base32hex support to encode() and decode() functions. 2026-03-25 11:35:19 -07:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile ssl: Serverside SNI support for libpq 2026-03-18 12:37:11 +01:00
meson.build Add backtrace support for Windows using DbgHelp API 2026-02-24 17:34:56 +01:00
nls.mk Create a separate file listing backend types 2025-09-26 15:21:49 +02:00