mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Clean up some residual confusion between OIDs and RelFileNumbers.
Commit b0a55e4329
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.
This commit is contained in:
@ -254,7 +254,7 @@ ScanSourceDatabasePgClass(Oid tbid, Oid dbid, char *srcpath)
|
||||
BlockNumber nblocks;
|
||||
BlockNumber blkno;
|
||||
Buffer buf;
|
||||
Oid relfilenumber;
|
||||
RelFileNumber relfilenumber;
|
||||
Page page;
|
||||
List *rlocatorlist = NIL;
|
||||
LockRelId relid;
|
||||
@ -401,7 +401,7 @@ ScanSourceDatabasePgClassTuple(HeapTupleData *tuple, Oid tbid, Oid dbid,
|
||||
{
|
||||
CreateDBRelInfo *relinfo;
|
||||
Form_pg_class classForm;
|
||||
Oid relfilenumber = InvalidRelFileNumber;
|
||||
RelFileNumber relfilenumber = InvalidRelFileNumber;
|
||||
|
||||
classForm = (Form_pg_class) GETSTRUCT(tuple);
|
||||
|
||||
|
Reference in New Issue
Block a user