We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since 9.3, PostgreSQL uses 256 segments per WAL, not 255. That means a WAL size is 4GB, not 4GB-16MB.
4GB
4GB-16MB
In conséquence, the following conversation is false:
$max_lsn_dec = (hex('ff000000') * hex($wal_num)) + hex($wal_off);
it should be $max_lsn_dec = ( 4_1024_1024*1024 * hex($wal_num)) + hex($wal_off);
This bug should not have large impact in production, but it would be better to fix it.
The text was updated successfully, but these errors were encountered:
Fix bad LSN conversion to decimal
53f7207
This fix gh issue #20.
ioguix
No branches or pull requests
Since 9.3, PostgreSQL uses 256 segments per WAL, not 255. That means a WAL size is
4GB
, not4GB-16MB
.In conséquence, the following conversation is false:
it should be $max_lsn_dec = ( 4_1024_1024*1024 * hex($wal_num)) + hex($wal_off);
This bug should not have large impact in production, but it would be better to fix it.
The text was updated successfully, but these errors were encountered: