The extenddb catalog-check command (cmd_catalog_check.rs) snuck in at the same time we refactored extenddb to enable pluggable backends, and still has direct dependencies on sqlx in general and PostgreSQL in particular. Functionality in this command must be moved behind generic operations in a catalog trait and reimplemented in storage-postgres (and other backend crates as they come along).
The
extenddb catalog-checkcommand (cmd_catalog_check.rs) snuck in at the same time we refactored extenddb to enable pluggable backends, and still has direct dependencies on sqlx in general and PostgreSQL in particular. Functionality in this command must be moved behind generic operations in a catalog trait and reimplemented in storage-postgres (and other backend crates as they come along).