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

pgsql: Rewrite installation makefile rules without for loops

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rewrite installation makefile rules without for loops
Date: 2011-05-01 22:06:31
Message-ID: E1QGemd-0004Tk-UK@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Rewrite installation makefile rules without for loops

install-sh can install multiple files at once, so for loops are not
necessary.  This was already changed for the rest of the code some
time ago, but pgxs.mk was apparently forgotten, and the obsolete
coding style has now been copied to the PLs as well.

This also fixes the problem that the for loops in question did not
catch errors.

Branch
------
master

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

Modified Files
--------------
src/makefiles/pgxs.mk       |   35 +++++++----------------------------
src/pl/plperl/GNUmakefile   |    5 +----
src/pl/plpgsql/src/Makefile |    5 +----
src/pl/plpython/Makefile    |    5 +----
src/pl/tcl/Makefile         |    5 +----
5 files changed, 11 insertions(+), 44 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