Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nuB questions: how to stop two instances of three? also, who should ow

Status
Not open for further replies.

mrMahann

MIS
Dec 5, 2002
2
US
hello:

first is a peace of mind thing: who should own the /usr/local/bin/ postgres stuff? root or postgres?

more inportantly, i've got three "postgres" processes; does this mean i've got three instances going?

i created a default database...
[gus:~] postgres% /usr/local/bin/initdb -D /usr/local/pgsql/data
... then decided i wanted my data in a different directory...
[gus:~] postgres% /usr/local/bin/initdb -D /Users/postgres/Documents/pgdata
... and may have run the first one twice <g>.

i only want the last one; pg_dump seems to dump the data; dropdb needs a name, and i'm not sure if this is the right command anyway.

help?
 
oooops sorry

mac os 10.2.2; shell is tsch, pg version is 7.3.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top