Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHCER-0006Y2-D2 for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jan 2016 15:12:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHCEQ-0007Fk-VZ for pgsql-bugs@arkaria.postgresql.org; Thu, 07 Jan 2016 15:12:07 +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 1aHCDo-0006Xu-QV for pgsql-bugs@postgresql.org; Thu, 07 Jan 2016 15:11:28 +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 1aHCDk-0006dR-Al for pgsql-bugs@postgresql.org; Thu, 07 Jan 2016 15:11:27 +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 [200.104.53.52]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 14A8E400F8B; Thu, 7 Jan 2016 07:11:16 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id EBFDC398; Thu, 7 Jan 2016 12:11:08 -0300 (CLT) Date: Thu, 7 Jan 2016 12:11:08 -0300 From: Alvaro Herrera To: Michael Paquier Cc: Egon Kocjan , PostgreSQL mailing lists Subject: Re: BUG #13594: pg_ctl.exe redirects stderr to Windows Events Log if stderr is redirected to pipe Message-ID: <20160107151108.GA420990@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier wrote: > On Thu, Jan 7, 2016 at 6:42 AM, Alvaro Herrera wrote: > > I looked at applying this patch, but as it turns out we don't have the > > backpatchable version. I don't think it's a good idea to backpatch the > > move of the file from backend to src/port -- there's precedent for > > copying the entire function (and assorted infrastructure) to pg_ctl > > instead. Would you submit a patch to do that? > > Yes (like restricted tokens and pg_upgrade stuff we did), but I was > just waiting that we reach an agreement for the version of master > before moving on with patches for back branches. Right. > > Here's a rebased version of what you submitted last. I tweaked a few > > lines here and there, nothing major. I thought your patch is ready to > > apply and we only need the backpatchable versions. > > This rebased patch looks fine for me. I am attaching as well versions > for back-branches for 9.1~9.5. In this case it is just necessary to > duplicate pgwin32_get_dynamic_tokeninfo and pgwin32_is_service to > pg_ctl.c to make things work properly. Pushed. Obviously I didn't compile any of this, so let's see how the buildfarm likes it. Thanks! -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs