From edbaaea0a95ef1c32ffe8aa62e1556588c7a714b Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sun, 14 Dec 2025 13:09:43 -0500 Subject: bufmgr: Separate keys for private refcount infrastructure This makes lookups faster, due to allowing auto-vectorized lookups. It is also beneficial for an upcoming patch, independent of auto-vectorization, as the upcoming patch wants to track more information for each pinned buffer, making the existing loop, iterating over an array of PrivateRefCountEntry, more expensive due to increasing its size. Reviewed-by: Melanie Plageman Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff --- src/tools/pgindent/typedefs.list | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools') diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 161cbec46af..453bce827ea 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -2333,6 +2333,7 @@ PrintfArgValue PrintfTarget PrinttupAttrInfo PrivTarget +PrivateRefCountData PrivateRefCountEntry ProcArrayStruct ProcLangInfo -- cgit v1.2.3