added mongodb and postgresql different exec_pre