mirror of
https://github.com/postgres/postgres.git
synced 2025-12-24 06:01:07 +03:00
Fix pg_upgrade, broken by the xlogid/segno -> 64-bit int refactoring.
The xlogid + segno representation of a particular WAL segment doesn't make much sense in pg_resetxlog anymore, now that we don't use that anywhere else. Use the WAL filename instead, since that's a convenient way to name a particular WAL segment. I did this partially for pg_resetxlog in the original xlogid/segno -> uint64 patch, but I neglected pg_upgrade and the docs. This should now be more complete.
This commit is contained in:
@@ -168,8 +168,7 @@ typedef struct
|
||||
{
|
||||
uint32 ctrl_ver;
|
||||
uint32 cat_ver;
|
||||
uint32 logid;
|
||||
uint32 nxtlogseg;
|
||||
char nextxlogfile[25];
|
||||
uint32 chkpnt_tli;
|
||||
uint32 chkpnt_nxtxid;
|
||||
uint32 chkpnt_nxtoid;
|
||||
|
||||
Reference in New Issue
Block a user