pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Avoid check target accidentally breaking make's --ou
Date: Tue, 21 May 2019 22:07:48 +0000
Message-ID: <E1hTCvE-0005LV-Te@gemulon.postgresql.org> (raw)

pg_upgrade: Avoid check target accidentally breaking make's --output-sync.

When $(MAKE) is present in a rule, make assumes that target is a
submake, and it doesn't need to buffer its output. But in this case
it's a shell script that needs buffered output. Avoid that heuristic,
by referring to $(MAKE) via an indirection.

Discussion: https://postgr.es/m/20190521004717.qsktdsugj3shagco@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5af2e976d72aa345337596cc986237c57e1146b2

Modified Files
--------------
src/bin/pg_upgrade/Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)



Message-ID: <E1hTCvE-0005LV-Te@gemulon.postgresql.org>
Permalink:  ../E1hTCvE-0005LV-Te@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hTCvE-0005LV-Te@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: pg_upgrade: Avoid check target accidentally breaking make's --ou
  In-Reply-To: <E1hTCvE-0005LV-Te@gemulon.postgresql.org>
  References: <E1hTCvE-0005LV-Te@gemulon.postgresql.org>

* 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