Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

[-] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants