Sqitch uses the native database client applications (psql
, sqlite3
, mysql
, etc.). So for tracking metadata about the state of deployments, I have been trying to stick to using them. I’m first targeting PostgreSQL, and as a result need to open a connection to psql
, start a transaction, and be able to read and write stuff to it as migrations go along. The IPC is a huge PITA. Furthermore, getting things properly quoted is also pretty annoying — and it will be worse for SQLite and MySQL, I expect (psql
’s --set
support is pretty slick).
↧
David Wheeler: Use of DBI in Sqitch
↧