/tools

Dependency and change-impact explorer

Find review candidates and shortest dependency paths from a local PostgreSQL snapshot. No database connection or uploaded data.

Capture format and graph scope

The read-only export below captures current-database pg_depend links and resolves object identities. It includes user-object inventory and metadata for all graph endpoints. It applies no row limit; identity resolution can cost time on large catalogs. Catalog JSON needs objects and dependencies arrays. Include explicit classid, objid, objsubid (0 for the whole object; negative sub-IDs identify system columns), referenced-address fields and deptype.

Schema-only SQL is also accepted, with limited structural relationships: tables/columns, constraints, foreign keys, parent relationships and table-level index associations. Views and routines are inventoried, but their SQL dependencies are not inferred. CHECK/default/type/expression and column-level index dependencies need catalog evidence. Unsupported SQL appears in coverage.

Reachability is a review envelope, not a DROP CASCADE simulator or an ALTER compatibility verdict. Internal implementation-owner returns in impact mode and component entry in prerequisite mode make view/rule chains visible. Prerequisite mode does not aggregate every automatically owned subobject. Extension membership stays explicit. Whole-object impact scope includes columns; prerequisite traces can return from a column to its whole-object context. A column trace does not expand to siblings automatically. Shared pg_shdepend ownership/ACL relationships, application code, dynamic SQL and unrecorded routine-body dependencies are outside this graph.

Dependency flavors · Tracking limits · Object identities