Pass type as scalar instead of a hashref to work around a bug in DBD::Pg version...