Fix #1185 bug#1197
Conversation
This semicolon breaks the query Signed-off-by: Joe Adams <[email protected]>
cristiangreco
left a comment
There was a problem hiding this comment.
A bit unfortunate this hasn't been caught by any test.
|
@sysadmind @SuperQ are we good merging this? I could go ahead with #1196 then if you're ok |
|
It's very unfortunate that the tests didn't catch it. I think we need to take a look at how we do testing in this project and see if we can improve. |
|
There's another semicolon at the end of that statement that causes errors to be logged every time it runs: |
|
@tomhughes what PG version are you running? I wasn't able to reproduce the error locally with PG 17. |
|
That's 15 at the moment - due to be upgraded to 17 next weekend as it happens. |
Ok I can reproduce the issue locally, will open a PR later. |
This semicolon breaks the query Signed-off-by: Joe Adams <[email protected]> Co-authored-by: Joe Adams <[email protected]>
* [BUGFIX] Fix swapped `flushedLsn` and `receiveStartTli` for `wal_receiver` collector by @spantaleev in #1198 * [BUGFIX] Fix superfluous semicolon breaking query in `process_idle` by @sysadmind in #1197 and #1201
* [BUGFIX] Fix swapped `flushedLsn` and `receiveStartTli` for `wal_receiver` collector by @spantaleev in #1198 * [BUGFIX] Fix superfluous semicolon breaking query in `process_idle` by @sysadmind in #1197 and #1201 Signed-off-by: Cristian Greco <[email protected]>
* [BUGFIX] Fix swapped `flushedLsn` and `receiveStartTli` for `wal_receiver` collector by @spantaleev in #1198 * [BUGFIX] Fix superfluous semicolon breaking query in `process_idle` by @sysadmind in #1197 and #1201 Signed-off-by: Cristian Greco <[email protected]>
* [BUGFIX] Fix swapped `flushedLsn` and `receiveStartTli` for `wal_receiver` collector by @spantaleev in prometheus-community/postgres_exporter#1198 * [BUGFIX] Fix superfluous semicolon breaking query in `process_idle` by @sysadmind in prometheus-community/postgres_exporter#1197 and prometheus-community/postgres_exporter#1201 Signed-off-by: Cristian Greco <[email protected]>
This semicolon breaks the query
/cc @kmoppel