make the insert operation support postgresql