Mac OSX: If you do not want postgresql launching on startup

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Mac OSX: If you do not want postgresql launching on startup

Postby acidjames » Tue Jan 05, 2010 6:10 pm

Hi guys,

I like to keep things tidy and neat on my computer, and i especially don't like powerful daemons like postgresql running in the background when i'm not using it :

If you want to stop postgresql from running on startup, just copy to a safe place and delete this file :

Code: Select all
/Library/LaunchDaemons/comd.ed.launchd.postgresql-8.4.plist


Keep up the good work, it's nice to see another major windows software ported to the mac,

Bye,
James
acidjames
 
Posts: 1
Joined: Tue Jan 05, 2010 6:07 pm

Re: Mac OSX: If you do not want postgresql launching on startup

Postby kraada » Tue Jan 05, 2010 6:22 pm

Thanks for the tip!
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Mac OSX: If you do not want postgresql launching on startup

Postby berkz » Mon Mar 08, 2010 10:08 am

Will this then launch postgresql when I launch pokertracker? I'd like for postgresql to start / stop depending on when I launch / exit pokertracker Since It's my only program that uses the database.
berkz
 
Posts: 6
Joined: Thu Mar 13, 2008 2:20 pm

Re: Mac OSX: If you do not want postgresql launching on startup

Postby WhiteRider » Mon Mar 08, 2010 10:58 am

PT3 will start the postgres service if it is not running, but it will not stop it at shutdown as it's possible that other applications use it.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Mac OSX: If you do not want postgresql launching on startup

Postby berkz » Mon Apr 26, 2010 2:20 am

any chance you could add the option to stop the sql server from running when exiting the app. My guess is that a huge majority of users aren't using postgresql for anything else.
berkz
 
Posts: 6
Joined: Thu Mar 13, 2008 2:20 pm

Re: Mac OSX: If you do not want postgresql launching on startup

Postby WhiteRider » Mon Apr 26, 2010 3:43 am

I'll pass on your request to the development team.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Mac OSX: If you do not want postgresql launching on startup

Postby berkz » Wed Apr 28, 2010 7:26 pm

the above method isnt working for me. Well pokertracker isnt starting postgresql if it isnt already loaded. Says unable to connect after i removed the file and restart.. no i have to figure out how to start it manually since I deleted the file referenced file :)
berkz
 
Posts: 6
Joined: Thu Mar 13, 2008 2:20 pm

Re: Mac OSX: If you do not want postgresql launching on startup

Postby WhiteRider » Thu Apr 29, 2010 2:41 am

I've attached my file - for future reference you should always move files like this rather than delete them, as suggested by the first post.
Attachments
com.edb.launchd.postgresql-8.4.plist.zip
(567 Bytes) Downloaded 494 times
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests