I newly installed PostgreSQL 9.4 onto my Windows 7 os laptop.
Straight afterwards, I think I saw on services.msc
a service: postgresql-9.4 PostgreSQL Server 9.4
. However, this had a message something along the lines of "marked for deletion".
Didn't understand that and being ignorant I restarted the laptop after the install, expecting magic on the reboot.
Now I can no longer see on any such service available to Start or Stop. I only have a PostgreSQL Scheduling Agent service.
I also have a problem starting and stopping the PostgreSQL Server. For instance, the typical advice seems to be:
• NET START postgresql
(this doesn't work on mine, because there's no service)
• "pg_ctl" -D "C:/Program Files/Postgresql/9.4/data" -l logfile start
(uff..I'd much prefer just to click 'start' in services.msc
, ala SQL Server. Plus sometimes this gives me an error Another service might be running. Access denied
and I can't find the other service, and resmon
shows no port usage.)
I've also tried clicking on just about every .exe file in the binaries folder (eg. postgres.exe
). But no joy.
I've read that PostgreSQL and Windows are not typically combined, but I'm stuck with Windows due to high use of Office products. Hence, mind if I ask for any construction suggestions on how to fix this issue?
Ideally I'd love to hear a way to get that postgreSQL-x64-9.4
service permanently running in my services.msc
.
Many thanks in advance!