- Notifications
You must be signed in to change notification settings - Fork86
Repair backup failed (the value of segment_size is greater than 2G)#510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
qiuwenhuifx commentedAug 24, 2023
@funny-falcon ,I see this problem still exists, are there any plans to fix this? |
qiuwenhuifx commentedAug 24, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@funny-falcon |
Currently there are no plans to fix it, since it quite hard due to backward compatibility issues. |
Ah, I see: your patch is quite capable. Ok, let me think once more. |
qiuwenhuifx commentedNov 3, 2023
@funny-falcon ,It seems n_blocks variable type is int ( file->n_blocks = (int) n_blocks) ,postgrespro has already fixed the (xid 32bit) issue, I think no reason why it can't be fixed!,Thank you very much |
If the value of segment_size is greater than 2G, the file length will overflow. In this case, the backup will fail.