New SQL infrastructure and PostgreSQL driver working