Re: postmaster does not shut down

From: Justin Clift <justin(at)postgresql(dot)org>
To: John Smith <john_smith_45678(at)yahoo(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postmaster does not shut down
Date: 2003-01-27 03:39:09
Message-ID: 3E34A9DD.8000506@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Cornelia Boenigk 2003-01-27 04:03:23 Re: postmaster does not shut down
Previous Message John Smith 2003-01-27 03:28:33 Re: postmaster does not shut down