Re: postmaster does not shut down - Mailing list pgsql-cygwin

From Justin Clift
Subject Re: postmaster does not shut down
Date
Msg-id 3E34A9DD.8000506@postgresql.org
Whole thread Raw
In response to Re: postmaster does not shut down  (John Smith <john_smith_45678@yahoo.com>)
Responses Re: postmaster does not shut down
List pgsql-cygwin
John Smith wrote:
> I just deleted the pid file and started PG again. I guess closing the
> window kills it?

Ahhh... you started PostgreSQL from a cygwin window with:

$ pg_ctl start

and then closed the window?  It does seem to like keeping the window
open.  Have you tried starting it using postmaster instead?

$ postmaster -D /path/to/your/data/directory -i

Not sure that will work, but it's a though.

When PostgreSQL is configured to start as a service, it seems to be much
easier.  You can then just start it from the "Services" part of the
Windows control panel (depending which operating system you're using of
course).

:-)

Regards and best wishes,

Justin Clift


> John


--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


pgsql-cygwin by date:

Previous
From: John Smith
Date:
Subject: Re: postmaster does not shut down
Next
From: "Cornelia Boenigk"
Date:
Subject: Re: postmaster does not shut down