Clean up some residual confusion between OIDs and RelFileNumbers.
authorRobert Haas <rhaas@postgresql.org>
Thu, 28 Jul 2022 14:08:10 +0000 (10:08 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 28 Jul 2022 14:20:29 +0000 (10:20 -0400)
commit851f4cc75cdd8c831f1baa9a7abf8c8248b65890
treef0cb2019773365b1b149f3f1d857f75572a9532f
parent9e4f914b5eba3f49ab99bdecdc4f96fac099571f
Clean up some residual confusion between OIDs and RelFileNumbers.

Commit b0a55e43299c4ea2a9a8c757f9c26352407d0ccc missed a few places
where we are referring to the number used as a part of the relation
filename as an "OID". We now want to call that a "RelFileNumber".

Some of these places actually made it sound like the OID in question
is pg_class.oid rather than pg_class.relfilenode, which is especially
good to clean up.

Dilip Kumar with some editing by me.
src/backend/commands/dbcommands.c
src/backend/replication/basebackup.c
src/backend/storage/file/reinit.c
src/include/storage/reinit.h