added postgresql version variable
Merge pull request #1301 from elevow/postgresql_var

added postgresql version variable