using sqlite3 with pg