Fix return code check for sqlite3 exec.
Keep sqlite3 database while in use; improve test.
Make PG describe cooperative.