postgresql - Set initdb and pg_ctl -
i installed postgresql source. i tried running commands: which initdb pg_ctl but blank response. i know these executables reside in directory. how might set initdb , pg_ctl ? thanks help. you have received blank output command 'which', these binaries not known linux machine. , hence need run these binaries using './' (like ./pg_ctl) can add path of postgres bin directory $path. eg. export path=$path:/postgres/installation/path/bin/ you can set permanently adding above path value in .bash_profile file in home of directory of postgres user.