pgsql: Fix InitializeRelfilenumberMap for 05d4cbf9b6ba708858984b01ca0fc

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix InitializeRelfilenumberMap for 05d4cbf9b6ba708858984b01ca0fc
Date: 2022-09-28 12:05:42
Message-ID: E1odVos-002NyE-Dd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6af082723277eeca74f2da65e7759666bf7c7f9c

Modified Files
--------------
src/backend/utils/cache/relfilenumbermap.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-09-28 13:55:46 pgsql: Revert 56-bit relfilenode change and follow-up commits.
Previous Message Robert Haas 2022-09-28 11:59:55 pgsql: Fix alignment problems with SharedInvalSmgrMsg.