pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Wabner <twabner@imn.htwk-leipzig.de>
To: pgsql-admin@postgresql.org
Subject: shutdown postgres under windows
Date: Wed, 14 Jul 2004 15:27:36 +0200
Message-ID: <dwnhq0b8.yylru2v6yupg@bigwaffel> (raw)

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 other programs. 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 the shutdown 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,...




Message-ID: <dwnhq0b8.yylru2v6yupg@bigwaffel>
Permalink:  ../dwnhq0b8.yylru2v6yupg@bigwaffel/
Also on:    postgresql.org/message-id/dwnhq0b8.yylru2v6yupg@bigwaffel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: twabner@imn.htwk-leipzig.de
  Subject: Re: shutdown postgres under windows
  In-Reply-To: <dwnhq0b8.yylru2v6yupg@bigwaffel>
  References: <dwnhq0b8.yylru2v6yupg@bigwaffel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox