IF Commons GitHub

Two readers of a database's catalog: convergence's `catalog` and the dialects' `observe`

lowopen

0019-sql-convergence reads a live catalog through `Dialect.catalog` (tables, columns, primary keys, index names; foreign keys on PostgreSQL only) and compares it with a state; 0055-sql-introspect reads the whole structure through `Dialect.observe` (foreign keys over many columns, uniques, indexes by column) and compares it with a schema, and can adopt it. They answer nearly the same question twice. Make `observe` the one reader, have convergence's `read` built from it, keep convergence's tests as the oracle, and drop `catalog`.

LibraryData
Severitylow
PriorityP3
Statusopen
Sizem
GoalsG1
Raised2026-11-20

Requirements it is about

Evidence

Titles, headings, exports, tables, columns and requirements. Esc closes.