Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YYwLs-0003aU-Af for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2015 12:48:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YYwLr-0007y3-Kk for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2015 12:48:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYwLq-0007xx-E9 for pgsql-hackers@postgreSQL.org; Fri, 20 Mar 2015 12:48:34 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YYwLm-00065s-Rg for pgsql-hackers@postgreSQL.org; Fri, 20 Mar 2015 12:48:32 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1YYwLl-0000QS-Tq; Fri, 20 Mar 2015 08:48:29 -0400 Date: Fri, 20 Mar 2015 08:48:29 -0400 From: Bruce Momjian To: krystian.bigaj@gmail.com Cc: PostgreSQL-development Subject: Re: [BUGS] BUG #11805: Missing SetServiceStatus call during service shutdown in pg_ctl (Windows only) Message-ID: <20150320124829.GK6317@momjian.us> References: <20141028070241.2593.58180@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141028070241.2593.58180@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Oct 28, 2014 at 07:02:41AM +0000, krystian.bigaj@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 11805 > Logged by: Krystian Bigaj > Email address: krystian.bigaj@gmail.com > PostgreSQL version: 9.3.5 > Operating system: Windows 7 Pro x64 > Description: > > pg_ctl on Windows during service start/shutdown should notify service > manager about it's status by increment dwCheckPoint and call to > SetServiceStatus/pgwin32_SetServiceStatus. > > However during shutdown there is a missing call to SetServiceStatus. > See src\bin\pg_ctl\pg_ctl.c: [ thread moved to hackers ] Can a Windows person look into this issue? http://www.postgresql.org/message-id/20141028070241.2593.58180@wrigleys.postgresql.org The thread includes a patch. I need a second person to verify its validity. Thanks. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers