Re: Fixing parallel make of libpq - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fixing parallel make of libpq
Date
Msg-id a8044694-412c-74e2-7be7-20315b52ad5a@2ndquadrant.com
Whole thread Raw
In response to Re: Fixing parallel make of libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fixing parallel make of libpq
List pgsql-hackers
On 2020-01-09 15:17, Tom Lane wrote:
> 1) Changing from an "|"-style dependency to a plain dependency seems
> like a semantics change.  I've never been totally clear on the
> difference though.  I think Peter introduced our use of the "|" style,
> so maybe he can comment.

If you have a phony target as a prerequisite of a real-file target, you 
should make that an order-only ("|") prerequisite.  Otherwise the 
real-file target rules will *always* be run, on account of the phony 
target prerequisite.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: [Proposal] Global temporary tables
Next
From: Sergei Kornilov
Date:
Subject: Re: [HACKERS] Block level parallel vacuum