Skip to content

v0.5.1: Close write connection after read connections; Fix watch with query parameters #12

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

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented Aug 1, 2023

Close write connection after read connections

Fixes #11.

Closing the write connection usually cleans up the journal files (-shm and -wal files).

It can only do that if there are no other open connections, so we close the read-only connections first.

Fix watch with query parameters

When parameters were passed to watch, the EXPLAIN part that to get affected tables failed. This fixes it.

@rkistner rkistner changed the title Close write connection after read connections v0.5.1: Close write connection after read connections; Fix watch with query parameters Aug 3, 2023
Fix typo

Co-authored-by: wessels2 <95405275+wessels2@users.noreply.github.com>
@rkistner rkistner merged commit d937c5d into main Aug 3, 2023
@rkistner rkistner deleted the cleanup branch August 3, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running query leaves behind -shm and -wal files after clean shutdown.
2 participants