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

From Cornelia Boenigk
Subject Re: postmaster does not shut down
Date
Msg-id 003901c2c5b9$176c7280$7f54fea9@zwerg98
Whole thread Raw
In response to Re: postmaster does not shut down  (John Smith <john_smith_45678@yahoo.com>)
List pgsql-cygwin
Hi all

> I guess closing the window kills it?
No. It doesn't kill postgresql and it doesn't kill the ipc-daemon. If you
look at the win task manager you see the processes still running. You can
kill it with the task manager but this is a rather inelegant way;-)

> $ postmaster -D /path/to/your/data/directory -i
>
> Not sure that will work, but it's a though.
It works fine;-)
I am starting/stopping the processes with small shell scripts placed in my
home directory. You can see all of them at
http://www.pgsql.info/pg_win.html

To start:
#!/bin/sh
echo
echo "PostgreSQL starten:"
postmaster -i -D /usr/share/postgresql/data &
ps -f

To stop:
#!/bin/sh
echo
echo "PostgreSQL shutdown:"
pg_ctl stop -w -D /usr/share/postgresql/data -s -m smart
ps -f

Regards
Conni
--
Datenbanklösungen + PostgreSQL + Webdesign
http://www.cornelia-boenigk.de | http://www.pgsql.info
http://www.dpunkt.de/buch/3-89864-175-9.html


pgsql-cygwin by date:

Previous
From: Justin Clift
Date:
Subject: Re: postmaster does not shut down
Next
From: John Smith
Date:
Subject: Re: postmaster does not shut down