Re: [GENERAL] Where is initdb?

On Monday 26 January 2004 09:21 am, Reid Thompson wrote:
su - postgres and do `which initdb`, or `whence initdb`
:~> su - mypostgre Password: mypostgre@linux:~> `which initdb` mypostgre@linux:~> which initdb mypostgre@linux:~> whence initdb -bash: whence: command not found mypostgre@linux:~> `whence initdb` -bash: whence: command not found mypostgre@linux:~>
Jerome Lyles wrote:
Hello List,
I have installed Postgresql 7.4 on a Suse 9.0 system using apt. I cannot do this:
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
Because there is no "/pgsql/bin/initdb" nor /pgsql/bin/ on my system. Since apt did not create these directories how can I do it manually? Thanks, Jerome
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

The Monday 2004-01-26 at 20:16 -1000, Jerome Lyles wrote:
On Monday 26 January 2004 09:21 am, Reid Thompson wrote:
su - postgres and do `which initdb`, or `whence initdb`
:~> su - mypostgre Password: mypostgre@linux:~> `which initdb` mypostgre@linux:~> which initdb
Remove the ' -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Jerome Lyles