Start Manually Postgres Service

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

Start Manually Postgres Service

Postby rancor187 » Mon Jul 14, 2008 9:25 am

Hi, when u startup windows u'll see in your taskmanager that postgres.exe is running several times, this is a waste of resources (RAM + CPU) if u don't have to run PT3. So I disabled this "Service" from the startup and set it to "Manually". Everytime I have to run PT3 I have to start the "Service" first. Is there a away to start this "Service" simultaneously while executing PT3? Or is it at least possible to (lets say) run a batch-file that starts the Postgres "Service" ? :idea:

Thank you.
rancor187
 
Posts: 4
Joined: Tue Apr 08, 2008 10:56 am

Re: Start Manually Postgres Service

Postby WhiteRider » Mon Jul 14, 2008 10:52 am

This will be in the next beta release.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Start Manually Postgres Service

Postby ColoradoHarv » Mon Jul 14, 2008 1:01 pm

I use the following batch files for PostgreSQL V8.2 -


StartPostgreSQL.bat
Code: Select all
@Echo On
C:\WINDOWS\system32\net.exe  start pgsql-8.2
@Echo Off
pause


StopPostgreSQL.bat
Code: Select all
@Echo On
C:\WINDOWS\system32\net.exe  stop pgsql-8.2
@Echo Off
pause
ColoradoHarv
 
Posts: 14
Joined: Sun Feb 17, 2008 2:30 pm

Re: Start Manually Postgres Service

Postby rancor187 » Mon Jul 14, 2008 4:24 pm

Tahnk u .. works pretty well ...also for PG8.3 --> pgsql-8.3
rancor187
 
Posts: 4
Joined: Tue Apr 08, 2008 10:56 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 24 guests

cron