-
Notifications
You must be signed in to change notification settings - Fork 760
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
Error "WAL control functions cannot be executed during recovery" for pg_replication_slots #547
Comments
Hello, |
Thanks, this fixed my issue also. |
Hi all, Any reason the fix is still not merged into upstream version ? We can workaround this error in monitoring system but this is not clean where this can be simply fixed in the exporter. Thanks. |
Hi, This issue is open since 2021! I was wondering when it gets fixed. Thanks. |
Signed-off-by: Andrey Kozlov <kozlov_ae@pik.ru>
Signed-off-by: Andrey Kozlov <kozlov_ae@pik.ru>
Signed-off-by: Steffen Zieger <github@saz.sh>
What did you do?
Simply running exporter
0.0.1-rev (built with go1.15.8)
What did you expect to see?
I expect no errors
What did you see instead? Under which circumstances?
Environment
System information:
insert output of
uname -srm
hereLinux 5.4.0-66-generic x86_64
postgres_exporter version:
insert output of
postgres_exporter --version
herepostgres_exporter 0.0.1-rev (built with go1.15.8)
postgres_exporter flags:
PostgresSQL version:
insert PostgreSQL version here
11.8
Logs:
While looking here
postgres_exporter/cmd/postgres_exporter/postgres_exporter.go
Lines 431 to 443 in 134e908
I see no pg_is_in_recovery check
The text was updated successfully, but these errors were encountered: