X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9FF00D1B33F for ; Wed, 14 Jul 2004 10:22:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27703-04 for ; Wed, 14 Jul 2004 13:22:37 +0000 (GMT) Received: from mail.imn.htwk-leipzig.de (david.imn.htwk-leipzig.de [141.57.9.1]) by svr1.postgresql.org (Postfix) with ESMTP id AC36CD1B2A4 for ; Wed, 14 Jul 2004 10:22:28 -0300 (ADT) Received: from [141.57.8.70] (unknown [141.57.8.70]) by mail.imn.htwk-leipzig.de (Postfix) with ESMTP id B5BBA21392 for ; Wed, 14 Jul 2004 15:19:57 +0200 (MEST) X-Priority: Normal Subject: shutdown postgres under windows From: "Thomas Wabner" Mime-Version: 1.0 Date: Wed, 14 Jul 2004 15:27:36 +0200 Message-Id: X-Mailer: Columba v1.0 RC1-test4 Content-Type: text/plain; charset="ISO-8859-15" To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.9 tagged_above=0.0 required=5.0 tests=WEIRD_PORT X-Spam-Level: * X-Archive-Number: 200407/166 X-Sequence-Number: 14234 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,netennomatch,netenerror