Include RelFileLocator fields individually in BufferTag.
authorRobert Haas <rhaas@postgresql.org>
Wed, 24 Aug 2022 19:50:48 +0000 (15:50 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 24 Aug 2022 19:50:48 +0000 (15:50 -0400)
commit82ac34db2036ec5b3cb32c9180f40549aa790dc2
tree19385f9f12f528216ece87e22c29a487a0d0dc69
parent396d348b046c6b7e5dc83158c4c1df1377a1d2ef
Include RelFileLocator fields individually in BufferTag.

This is preparatory work for a project to increase the number of bits
in a RelFileNumber from 32 to 56.

Along the way, introduce static inline accessor functions for a couple
of BufferTag fields.

Dilip Kumar, reviewed by me. The overall patch series has also had
review at various times from Andres Freund, Ashutosh Sharma, Hannu
Krosing, Vignesh C, Álvaro Herrera, and Tom Lane.

Discussion: http://postgr.es/m/CAFiTN-trubju5YbWAq-BSpZ90-Z6xCVBQE8BVqXqANOZAF1Znw@mail.gmail.com
contrib/pg_buffercache/pg_buffercache_pages.c
contrib/pg_prewarm/autoprewarm.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/include/storage/buf_internals.h