Repository navigation
Release 0.2.5 - #64
Merged
Merged
Conversation
Benchmark comparisonThreshold: ±25% (informational, does not block merge)
|
Benchmark comparisonThreshold: ±25% (informational, does not block merge)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PostgreSQL callers currently need no-op writes to serialize protected work, which unnecessarily makes compatible readers contend. This release adds transaction-scoped shared/exclusive record locks and logical-key advisory locks on the held connection without changing persisted data or authorization defaults.
Release notes
Database.can_pushdown_numeric_sortcompiler coverage so hosts can discover existing numeric ordering support through the public API; unsupported adapters refuse and wrappers delegate without caching. It certifies neither stored types nor access, and changes no existing SQL behavior.Transactionthrough the supported top-level API and document lock lifecycle, tenancy, cancellation and host responsibilities.This uses the documented patch exception in RELEASING.md: the additions are small, optional primitives with default exclusive mode and no change to existing calls, queries, data formats or security defaults. They fix unnecessary writes/contention without requiring adopter migration.
Validation
twine check.Hosts must still evaluate current access, coordinate every relevant writer and keep a consistent lock order. Missing rows are not insertion fences; shared locks never grant permission.