support testing under postgresql