mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Revert 56-bit relfilenode change and follow-up commits.
There are still some alignment-related failures in the buildfarm, which might or might not be able to be fixed quickly, but I've also just realized that it increased the size of many WAL records by 4 bytes because a block reference contains a RelFileLocator. The effect of that hasn't been studied or discussed, so revert for now.
This commit is contained in:
@@ -86,14 +86,11 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* note: field layout chosen to pack into 20 bytes */
|
||||
/* note: field layout chosen to pack into 16 bytes */
|
||||
int8 id; /* type field --- must be first */
|
||||
int8 backend_hi; /* high bits of backend ID, if temprel */
|
||||
uint16 backend_lo; /* low bits of backend ID, if temprel */
|
||||
Oid dbOid;
|
||||
Oid spcOid;
|
||||
uint32 relNumber_hi; /* avoid 8 byte alignment requirement */
|
||||
uint32 relNumber_lo;
|
||||
RelFileLocator rlocator; /* spcOid, dbOid, relNumber */
|
||||
} SharedInvalSmgrMsg;
|
||||
|
||||
#define SHAREDINVALRELMAP_ID (-4)
|
||||
|
||||
Reference in New Issue
Block a user