]> granicus.if.org Git - postgresql/commitdiff
Fix contrib/pg_upgrade to clean all the cruft made during "make check".
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jan 2014 19:20:28 +0000 (14:20 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jan 2014 19:20:28 +0000 (14:20 -0500)
Although these files get cleaned up if the test runs to completion,
a failure partway through leaves trash all over the floor.  The Makefile
ought to be bright enough to get rid of it when you say "make clean".

contrib/pg_upgrade/Makefile

index ffcdad8157423b35519f5ed305ad1d58bcbb01d4..150a9b4770b2f0395603af1b860cfc514416f74c 100644 (file)
@@ -11,7 +11,9 @@ OBJS = check.o controldata.o dump.o exec.o file.o function.o info.o \
 PG_CPPFLAGS  = -DFRONTEND -DDLSUFFIX=\"$(DLSUFFIX)\" -I$(srcdir) -I$(libpq_srcdir)
 PG_LIBS = $(libpq_pgport)
 
-EXTRA_CLEAN = analyze_new_cluster.sh delete_old_cluster.sh log/ tmp_check/
+EXTRA_CLEAN = analyze_new_cluster.sh delete_old_cluster.sh log/ tmp_check/ \
+              pg_upgrade_dump_globals.sql \
+              pg_upgrade_dump_*.custom pg_upgrade_*.log
 
 ifdef USE_PGXS
 PG_CONFIG = pg_config