Skip to content

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.

3 participants