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.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -