Change sqlite3 to pg
Some changes