Do not take failures as successes due to "diff" command succeeding

Also check which versions of postgresql are installed, to drop 9.1