pgsql: bufmgr: Separate keys for private refcount infrastructure - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: bufmgr: Separate keys for private refcount infrastructure
Date
Msg-id E1vUqe6-000lAR-1N@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/edbaaea0a95ef1c32ffe8aa62e1556588c7a714b

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 141 ++++++++++++++++++++++++------------
src/tools/pgindent/typedefs.list    |   1 +
2 files changed, 97 insertions(+), 45 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Try a few different locale name spellings in nls.sql.
Next
From: Tom Lane
Date:
Subject: pgsql: Looks like we can't test NLS on machines that lack any es_ES loc