Repository navigation
chore: release 1.0.0-rc.15 - #213
Merged
Merged
Conversation
Bumps version to 1.0.0-rc.15 in .tabularium, Cargo.toml, Cargo.lock, and the CHANGELOG. This release includes: - feat: lossless table-to-table copy path (#207) — read_rows RPC (lossless, optionally-snapshot read) + insert_records RPC (batch typed insert) + table_copy capability - fix: replace unmaintained chrono with custom wire-decode (#200) — full Postgres date range parity, jiff dependency removed - fix: avoid SQL pagination for data-modifying CTE statements (#212) — WITH ... INSERT/UPDATE/DELETE no longer gets LIMIT appended or re-executed - fix: paginate queries that end in a comment (#204) — comment-aware lexer - fix: large limit/page no longer wraps to LIMIT 0 Co-authored-by: Adam J. Esslinger <14128427@aesslinger@users.noreply.github.com>
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
Reviewed by claude-sonnet-5.5 · Input: 3.9K · Output: 1.8K · Cached: 163.9K |
Merge main (PRs #216, #217) into release/rc.15 and update the CHANGELOG: - Added: session-pinned cursor paging, on_conflict skip, get_columns type+oid (#214, #216) - Fixed: wide NUMERIC/NaN data-loss on read_rows, read_rows byte-budget bounding (#215, #217) - Test count: 682 → 713 Co-Authored-By: Adam J Esslinger <esslinger@gmail.com>
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.
Releases
1.0.0-rc.15. Version bumped in.tabularium,Cargo.toml,Cargo.lock, andCHANGELOG.md.What's in this release
Added
read_rowsRPC (lossless, optionally-snapshot read with full-precision timestamps, fullbytea, type name + OID per column) +insert_recordsRPC (batch typed insert, atomic) +table_copycapability. Companion to tabularis#1625.session_id,read_rowsDECLAREs aSCROLLserver-side cursor and FETCHes per page (linear, one stable order, noLIMIT/OFFSETre-read). A retriedpage=1reuses the cursor. The cursor lives and dies with the pinnedREPEATABLE READtransaction.insert_recordson_conflict: "skip"(Table copy follow-up: wide NUMERIC reads as NULL, column types on empty pages, skip-on-conflict #214, fix: close four table-copy gaps in read_rows/insert_records (#214) #216) — optional param ("fail"default,"skip"→ON CONFLICT DO NOTHING). Response reports{ affected_rows, skipped }.get_columnstype + OID (Table copy follow-up: wide NUMERIC reads as NULL, column types on empty pages, skip-on-conflict #214, fix: close four table-copy gaps in read_rows/insert_records (#214) #216) —get_columns,get_view_columns,get_materialized_view_columns, and the batch fetch now returntype(pg_type.typname) andoid, matchingread_rows'Type::name().execute_read_only_queryand theread_only_queriescapability (Feature parity gap: protected read-only queries (read_only_queries / execute_read_only_query) #202)import_database_sql(Feature parity gap: transactional SQL import (import_database_sql) #201)get_foreign_keysref_schema(feat: add lossless read_rows RPC for table-to-table copy (#207) #211)Fixed
NUMERIC/NaNdata loss onread_rows(Table copy follow-up: wide NUMERIC reads as NULL, column types on empty pages, skip-on-conflict #214, fix: close four table-copy gaps in read_rows/insert_records (#214) #216) — a newPgNumericFromSqldecodes base-10000 wire bytes directly (PG16'snumeric_out/get_str_from_var), so values over 29 significant digits andNaN/Infinitysurvive instead of silently becomingnull. The write side always binds viaTEXT+CAST, notDecimal::parse(which silently rounded to 28 digits).read_rowsbyte-budget bounding (Table copy: bound the size of a read_rows response (uncapped bytea) #215, fix: bound read_rows response size for uncapped bytea #217) — the session-cursor response is bounded by a 16 MB byte budget (MAX_RESPONSE_BYTES) so largebyteavalues don't exhaust memory. Over-budget rows areMOVE BACKWARD-rewound (viaquery_typed, extended protocol) so the next page re-fetches them — no data loss, no host change. A single row larger than the budget still goes out (always at least one row).limitis capped atMAX_PAGE_SIZE = 100,000.WITH ... INSERT/UPDATE/DELETEno longer getsLIMITappended or re-executed on each page.chrono(RUSTSEC-2026-0543) andjiffwith customFromSqlimpls covering the full Postgres date range. No calendar-library dependency remains.Version references
.tabularium:1.0.0-rc.15✅Cargo.toml:1.0.0-rc.15✅Cargo.lock:1.0.0-rc.15✅CHANGELOG.md:[1.0.0-rc.15] — 2026-12-02✅Verification
cargo build✅cargo test --lib— 713 passed, 0 failed ✅cargo clippy --all-targets -- -D warnings✅cargo fmt --all -- --check✅npx markdownlint CHANGELOG.md✅live_db: 63/63 passed (62 plain + 1 pgvector on :54321)client_live_tests: 86/86 passed (TLS, mTLS, unix socket, 3× PgBouncer, plain)shutdown: 3/3 passedworker_starvation: 2/2 passedPRs included since the initial rc.15 draft
read_rowsresponse size for uncapped bytea — 23-agent ensemble reviewed, all 13 findings fixed (including a batch-FETCH rewrite that eliminated a ~1000x round-trip regression)