added postgresql version variable

Thanks Travis.