shutdown postgres under windows - Mailing list pgsql-admin

From Thomas Wabner
Subject shutdown postgres under windows
Date
Msg-id dwnhq0b8.yylru2v6yupg@bigwaffel
Whole thread Raw
List pgsql-admin
Hello,

I have written a windows tray application which starts postgres under windows.

Now I want to shutdown postgres, when windows shutdowns my tray-application. In this case I cannot use the pg_ctl or
otherprograms. If windows is in shutdown mode, it does not allow to start a new program (like pg_ctl) to shutdown
postgres.
Sending a kill signal does not work under windows.

Can I shutdown postgres via a command per TCP/IP or direct with a sql-builtin command? The postgres docu describes only
theshutdown functions via pg_ctl. 

Thanks a lot for any hints,

Regards,
Thomas Wabner

-------- SIgnature --------
Thomas Wabner
wissenschaftlicher Mitarbeiter
Karl-Liebknechtstrasse 145
04277 Leipzig
HTWK Leipzig

---------------------------
Thomas Wabner
CIO
Ancoso Development GMBH

---------------------------
PGP Key:
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x48681715&template=netenextract,netennomatch,netenerror


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Point in Time Recovery
Next
From: Stephan Szabo
Date:
Subject: Re: Turning of case sensitivity for identifiers?