Skip to content

Add PostgreSQL exact binding projections and release 0.2.8 - #67

Merged
eldonm merged 2 commits into
mainfrom
fix/postgres-binding-projection
Nov 9, 2026
Merged

eldonm merged 2 commits into
mainfrom
fix/postgres-binding-projection

Conversation

@eldonm

@eldonm eldonm commented Nov 9, 2026

Copy link
Copy Markdown
Member

Changes

Add opt-in PostgreSQL exact binding projections for a configured partition. Build and publish in a fenced maintenance transaction and update the facts in source write transactions. Fall back to the native summary when the query shape, permissions or projection state make it ineligible. Prepare release 0.2.8.

Verification

  • Full jvspatial suite and pre-commit checks passed.
  • Fourteen explicit PostgreSQL projection and tenancy tests passed with zero skips.
  • Built the 0.2.8 wheel and checked its adapter source against the committed files.
  • The Core 500,001-record count and revocation test passed against this wheel.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Benchmark comparison

Threshold: ±25% (informational, does not block merge)

benchmark baseline (s) current (s) delta status
tests/benchmarks/test_deferred_save_benchmarks.py::test_bench_deferred_save_batched_100 0.016787 0.027811 +65.7% REGRESSION (+65.7%)
tests/benchmarks/test_deferred_save_benchmarks.py::test_bench_immediate_save_100 0.016067 0.026660 +65.9% REGRESSION (+65.9%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_projection_capture[hierarchy] 0.003063 0.004619 +50.8% REGRESSION (+50.8%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_projection_capture[ontology] 0.002888 0.005001 +73.2% REGRESSION (+73.2%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_projection_capture[relationships] 0.002788 0.004340 +55.7% REGRESSION (+55.7%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_rich_projection_capture[hierarchy] 0.002494 0.003828 +53.5% REGRESSION (+53.5%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_rich_projection_capture[ontology] 0.002438 0.003925 +61.0% REGRESSION (+61.0%)
tests/benchmarks/test_graph_projection_benchmarks.py::test_warm_rich_projection_capture[relationships] 0.002568 0.003619 +41.0% REGRESSION (+41.0%)
tests/benchmarks/test_jsondb_benchmarks.py::test_bench_jsondb_batched_saves_500 0.709817 0.505440 -28.8% IMPROVED (-28.8%)
tests/benchmarks/test_jsondb_benchmarks.py::test_bench_jsondb_count_empty_query 0.001518 0.001990 +31.1% REGRESSION (+31.1%)
tests/benchmarks/test_jsondb_benchmarks.py::test_bench_jsondb_count_filtered 0.074745 0.102508 +37.1% REGRESSION (+37.1%)
tests/benchmarks/test_jsondb_benchmarks.py::test_bench_jsondb_find_filtered 0.074449 0.104116 +39.8% REGRESSION (+39.8%)
tests/benchmarks/test_jsondb_benchmarks.py::test_bench_jsondb_save_throughput 0.002342 0.001694 -27.7% IMPROVED (-27.7%)
tests/benchmarks/test_postgres_benchmarks.py::test_bench_postgres_find_many_bulk 0.000750 0.001087 +45.0% REGRESSION (+45.0%)
tests/benchmarks/test_postgres_benchmarks.py::test_bench_postgres_traverse_depth 0.000434 0.000640 +47.3% REGRESSION (+47.3%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_count_empty 0.000165 0.000259 +56.5% REGRESSION (+56.5%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_count_fallback_via_regex 0.022240 0.030753 +38.3% REGRESSION (+38.3%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_count_pushdown 0.001027 0.001546 +50.5% REGRESSION (+50.5%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_find_fallback_via_regex 0.022618 0.030818 +36.3% REGRESSION (+36.3%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_find_pushdown 0.000283 0.000448 +58.2% REGRESSION (+58.2%)
tests/benchmarks/test_sqlite_benchmarks.py::test_bench_sqlite_sort_limit_pushdown 0.001816 0.002644 +45.6% REGRESSION (+45.6%)

@eldonm
eldonm merged commit b876faf into main Nov 9, 2026
6 checks passed
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.

1 participant