Use postgresql instead of sqlite3