test for postgres version 9.2 and change datadir path for install