fix validation skip test for pg by ignoring database errors