Repository navigation
Backlog
Labels
Description
Follow-up to #4458 (perf audit, table-open-save lane). Items left out of that PR:
- TOS-F, stopping a capped PostgreSQL read at the source: cut after review. A capped read with parameters, and Share Result's capped read, now run to their end on the wire and decode only cap + 1 rows. Stopping them at the cap takes a cancel, which rolls back what the statement writes through a function, a view or
RETURNING; a safe stop needs the server's read-only mode or a savepoint cursor. Plan: a parameterized read'sbytes_downequal to the plain read's. - The editor's capped PostgreSQL text read (
executeBoundedQuery) cancels at the cap outside a transaction, so a SELECT whose function or view writes loses those writes while its rows come back. Older than this lane; the same read-only condition would fix it. - MySQL bulk and per-table foreign key reads are compared by construction only (one merge); the PostgreSQL and SQLite parity tests are in the PR.
- The Fetch All prompt has no test seam; its text is a constant now.
- TOS-C, keeping an exact total after a save of updates only: cut after review. A count can still change without a trigger the app lists: SQLite's
ON CONFLICT REPLACE, a PostgreSQL rule, a row-level security policy, a Cassandra row with no row marker, and a trigger list kept from a refresh whose trigger read failed. It needs a per-kind freshness mark inSchemaService, a rules read and a curated per-engine capability. Plan:edit_saveon a table under the count threshold, one capped count fewer. The PR keeps the large-total part: a total at or past the threshold stays as an estimate. - From the plan, not in any PR: MariaDB CHECK value pickers from the clauses its driver already reads (feature); the first Run on a restored tab with parameters opens the panel and runs nothing; Refresh blanks a large table's total after a 100,001-row capped count; iOS
ColumnInfo(from:)dropsallowedValuesfor every plugin-backed engine. - The catalog keeps "This will fetch approximately %@ more rows..." until Xcode's next sync marks it stale.
- MySQL
open_table_second,open_table_nopkandeditor_commitcounts were misattributed in both builds under load 25 to 250; measure them again on a quiet Mac.
Activity