Skip site navigation (1) Skip section navigation (2)

pgsql: Catch errors in for loop in makefile

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Catch errors in for loop in makefile
Date: 2011-05-01 22:06:31
Message-ID: E1QGemd-0004Tp-Vb@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Catch errors in for loop in makefile

Add "|| exit" so that the rule aborts when a command fails.

This is the minimal backpatch version.  The fix in head is more
elaborate.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c8c93c6e73b98fc8e0e371a8391d4824732437f2

Modified Files
--------------
src/makefiles/pgxs.mk |   12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2011-05-01 22:06:32
Subject: pgsql: Catch errors in for loop in makefile
Previous:From: Tom LaneDate: 2011-05-01 21:58:17
Subject: pgsql: Make CLUSTER lock the old table's toast table before copyingdat

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group