Fix InitializeRelfilenumberMap for 05d4cbf9b6ba708858984b01ca0fc56d59d4ec7c
authorRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2022 12:02:30 +0000 (08:02 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2022 12:04:49 +0000 (08:04 -0400)
commit6af082723277eeca74f2da65e7759666bf7c7f9c
tree35f55c828ea8f33e7d77b531bdc463cda3d543ba
parent0222be137188ac3912d244d832a328be0944f3e9
Fix InitializeRelfilenumberMap for 05d4cbf9b6ba708858984b01ca0fc56d59d4ec7c

Since relfilenodes are now 56-bits, we use bigint as the SQL type
to represent them, which means F_INT8EQ must be used here rather
than F_OIDEQ. On 64-bit machines this doesn't matter, but 32-bit
machines are unhappy.

Dilip Kumar

Discussion: http://postgr.es/m/CAFiTN-t71ciSckMzixAhrF9py7oRO6xszKi4mTRwjuucXr5tpw@mail.gmail.com
src/backend/utils/cache/relfilenumbermap.c