Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[-] fix timeline ID conversion in wal metric from hexadecimal to decimal #604

Merged
merged 1 commit into from Feb 17, 2023

Conversation

slardiere
Copy link
Contributor

As timelineid is hexadecimal in pg_walfile_name(), this fix correctly convert it to int.

Without this fix, queries fail when tlid reaches to A, and could give wrong results when decimals symbols is used

@pashagolub pashagolub self-assigned this Feb 16, 2023
@pashagolub pashagolub changed the title fix timelineid convert from hexadecimal to decimal [-] fix timeline ID conversion in wal metric from hexadecimal to decimal Feb 16, 2023
@pashagolub
Copy link
Collaborator

Thanks a lot for your help!

@pashagolub pashagolub merged commit 7e6caf7 into cybertec-postgresql:master Feb 17, 2023
@slardiere
Copy link
Contributor Author

thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants