Sql.pgsql: Update to new Sql API. Inherit __builtin.Sql.Connection and __builtin.Sql.Result as appropriate.