summaryrefslogtreecommitdiff
path: root/src/include/storage/reinit.h
diff options
context:
space:
mode:
authorRobert Haas2022-07-28 14:08:10 +0000
committerRobert Haas2022-07-28 14:20:29 +0000
commit851f4cc75cdd8c831f1baa9a7abf8c8248b65890 (patch)
treef0cb2019773365b1b149f3f1d857f75572a9532f /src/include/storage/reinit.h
parent9e4f914b5eba3f49ab99bdecdc4f96fac099571f (diff)
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.
Diffstat (limited to 'src/include/storage/reinit.h')
-rw-r--r--src/include/storage/reinit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/reinit.h b/src/include/storage/reinit.h
index bf2c10d443e..b990d28d385 100644
--- a/src/include/storage/reinit.h
+++ b/src/include/storage/reinit.h
@@ -20,7 +20,8 @@
extern void ResetUnloggedRelations(int op);
extern bool parse_filename_for_nontemp_relation(const char *name,
- int *oidchars, ForkNumber *fork);
+ int *relnumchars,
+ ForkNumber *fork);
#define UNLOGGED_RELATION_CLEANUP 0x0001
#define UNLOGGED_RELATION_INIT 0x0002