Attempt to fix errors with postgres tests.