Page 1 of 1
Possible, PostgreSQL running only when using PT3?

Posted:
Thu Jun 18, 2009 10:59 am
by S1CKD0NK
Is it possible to setup PT3 and PostgreSQL so that the seven postgres.exe processes and pg_ctl.exe process are only started when I'm using PT3 and killed when I exit PT3?
So basically... is it possible to setup PostgreSQL so that it's only running when I'm using PT3?
I suppose it could be done with pg_ctl since it's used in Windows Services for starting the PostgreSQL service, but what's the best way?
Re: Possible, PostgreSQL running only when using PT3?

Posted:
Thu Jun 18, 2009 11:50 am
by kraada
The simplest thing is just that when you finish using PT3, you should go click Start --> Programs --> PostgreSQL --> Stop Services. That will stop the PostgreSQL service. PT3 does not have this function automated.
Re: Possible, PostgreSQL running only when using PT3?

Posted:
Thu Jun 18, 2009 11:55 am
by WhiteRider
PT3 will start the service automatically, though.
Re: Possible, PostgreSQL running only when using PT3?

Posted:
Thu Jun 18, 2009 2:20 pm
by S1CKD0NK
Ok, I created a simple batch file which stops PostgreSQL service ("net stop pgsql-8.3").
BTW, the reason for doing all this is that PT3 is not used very often on my desktop computer. I have another license running on a laptop which is primarly used for playing poker.
Would be a simple option (Shutdown PostgresSQL when PT3 is quit) to add to PT3 though. Surely databases changes are committed immediately so there's no danger in shutting the PostgreSQL service down... These days there are so many extra processes running on computers that it gets a bit annoying when using Task Manager etc.
Re: Possible, PostgreSQL running only when using PT3?

Posted:
Thu Jun 18, 2009 2:38 pm
by kraada
It's been requested previously and it is on our list of features to add eventually, but I don't know how soon it will be implemented.