-
Notifications
You must be signed in to change notification settings - Fork 751
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
feat: Add safe_wal_size and wal_status to replication_slot #1027
feat: Add safe_wal_size and wal_status to replication_slot #1027
Conversation
5faa9e8
to
4e4a729
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, good so far, but needs some changes.
Signed-off-by: MarcWort <[email protected]>
Signed-off-by: MarcWort <[email protected]>
4e4a729
to
7525c2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Also, why are the |
safe_wal_size, | ||
wal_status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were added in postgres 13, they are absent in 12 and below, so this will break scraping on Pg 12. See https://www.postgresql.org/docs/12/view-pg-replication-slots.html
implements #1017