Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHKAQ-0006RU-7C for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 23:40:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHKAP-0003in-IY for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Jan 2016 23:40:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHK95-0002B2-NP for pgsql-hackers@postgresql.org; Thu, 07 Jan 2016 23:39:07 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aHK91-0000p6-QC for pgsql-hackers@postgresql.org; Thu, 07 Jan 2016 23:39:07 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [186.9.93.26]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 154E6400F2E; Thu, 7 Jan 2016 15:38:55 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id B95D32C0; Thu, 7 Jan 2016 20:38:51 -0300 (CLT) Date: Thu, 7 Jan 2016 20:38:51 -0300 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status Message-ID: <20160107233851.GA543792@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <12890.1452205267@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 Tom Lane wrote: > Alvaro Herrera writes: > > I confirmed that adding that line makes the new file get compiled. I > > also noticed these warnings when compiling it: > > > In file included from /usr/lib/gcc/x86_64-w64-mingw32/4.9-win32/include/stdarg.h:1:0, > > from /pgsql/source/master/src/include/c.h:85, > > from /pgsql/source/master/src/include/postgres_fe.h:25, > > from /pgsql/source/master/src/port/win32security.c:17: > > /pgsql/source/master/src/port/win32security.c: In function ‘log_error’: > > /pgsql/source/master/src/port/win32security.c:37:11: warning: passing argument 1 of ‘__builtin_va_start’ from incompatible pointer type > > va_start(fmt, ap); > > ^ > > I take it this code is quite untested, because what that's whining > about is that the arguments of va_start() are reversed. It is untested by me, yes. Pushed a fix for this problem. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers