-
Notifications
You must be signed in to change notification settings - Fork 796
Fix #1185 bug #1197
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 #1185 bug #1197
Conversation
This semicolon breaks the query Signed-off-by: Joe Adams <github@joeadams.io>
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.
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. |
* [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 <cristian@regolo.cc>
* [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 <cristian@regolo.cc>
This semicolon breaks the query
/cc @kmoppel