Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cipherstash client 0.31.1#347

Merged
tobyhede merged 2 commits into
mainfrom
cipherstash-client-0.31.1
Jan 10, 2026
Merged

Cipherstash client 0.31.1#347
tobyhede merged 2 commits into
mainfrom
cipherstash-client-0.31.1

Conversation

@tobyhede

Copy link
Copy Markdown
Contributor

Update to cipherstash-client 0.31.1

Add close_statement function.

@tobyhede tobyhede force-pushed the cipherstash-client-0.31.1 branch from 9fea460 to 0ee7efd Compare January 10, 2026 08:11
}

pub fn close_statement(&mut self, name: &Name) {
debug!(target: CONTEXT, client_id = self.client_id, statement = ?name);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not actually the cause of the problem, but worth adding anyway.
Without this, named prepared statements are retained indefinitely.

We haven't seen issues with not closing before because:

  • statement collection is bound to the life connection, so cleaned up on the normal pool life cycle
  • most people are not actually using "real" prepared statements

@tobyhede tobyhede merged commit 3683146 into main Jan 10, 2026
5 checks passed
@tobyhede tobyhede deleted the cipherstash-client-0.31.1 branch January 10, 2026 08:28
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.

2 participants