pgsql: When in automatic dependency mode, never delete any intermediate

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When in automatic dependency mode, never delete any intermediate
Date: 2010-08-24 18:06:12
Message-ID: 20100824180612.461407541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
When in automatic dependency mode, never delete any intermediate
files automatically. Otherwise, the following could happen: When
starting from a clean source tree, the first build would delete the
intermediate file, but also create the dependency file, which
mentions the intermediate file, thus making it non-intermediate.
The second build will then need to rebuild the now non-intermediate
missing file. So the second build will do work even though nothing
had changed. One place where this happens is the .c -> .o -> .so
chain for some contrib modules.

Modified Files:
--------------
pgsql/src:
Makefile.global.in (r1.264 -> r1.265)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/Makefile.global.in?r1=1.264&r2=1.265)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-08-24 21:20:37 pgsql: Make EXPLAIN show the function call expression of a FunctionScan
Previous Message Bruce Momjian 2010-08-24 15:22:20 pgsql: Fix awkward wording in Incrementally Updated Backups docs.