Re: postmaster does not shut down

From: "Cornelia Boenigk" <poppcorn(at)cornelia-boenigk(dot)de>
To: "John Smith" <john_smith_45678(at)yahoo(dot)com>, "pg-cygwin-liste" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: postmaster does not shut down
Date: 2003-01-27 04:03:23
Message-ID: 003901c2c5b9$176c7280$7f54fea9@zwerg98
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message John Smith 2003-01-27 04:30:01 Re: postmaster does not shut down
Previous Message Justin Clift 2003-01-27 03:39:09 Re: postmaster does not shut down