diff options
| author | Andres Freund <andres@anarazel.de> | 2025-12-14 13:09:43 -0500 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2025-12-14 13:09:43 -0500 |
| commit | edbaaea0a95ef1c32ffe8aa62e1556588c7a714b (patch) | |
| tree | f77406a4e82446b61539addacbdf272b76464410 /src/tools/pgindent | |
| parent | 5b275a6e154833803d3beb49da0879d2fe8b1d6c (diff) | |
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 <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
Diffstat (limited to 'src/tools/pgindent')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
