I\'m in a corporate environment (running Debian Linux) and didn\'t install it myself. I access the databases using Navicat or phpPgAdmin (if that helps). I also don\'t have
Don’t know how reliable this is, but you can get two tokens of version fully automatically:
psql --version 2>&1 | tail -1 | awk '{print $3}' | sed 's/\./ /g' | awk '{print $1 "." $2}'
So you can build paths to binaries:
/usr/lib/postgresql/9.2/bin/postgres
Just replace 9.2 with this command.