Convert string escapes to generic SQL, Postgres- or SQLite-specific. Add tests for Postgres and SQLite. Convert extended INSERTs to series of plain INSERTs.