summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-06-01 19:38:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-06-01 19:38:07 +0000
commitbd0a260928971feec484a22f0b86e5d1936c974f (patch)
tree50e7378f30e0bdbeeb8f86b532fbed5861b0c8c5 /contrib
parent41ef1c0f327b79516cb423bba840a6322226dc28 (diff)
downloadpostgresql-bd0a260928971feec484a22f0b86e5d1936c974f.tar.gz
Make CREATE/DROP/RENAME DATABASE wait a little bit to see if other backends
will exit before failing because of conflicting DB usage. Per discussion, this seems a good idea to help mask the fact that backend exit takes nonzero time. Remove a couple of thereby-obsoleted sleeps in contrib and PL regression test sequences.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/Makefile b/contrib/Makefile
index dfb65d68be..6a0d331911 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/Makefile,v 1.76 2007/05/17 19:11:24 momjian Exp $
+# $PostgreSQL: pgsql/contrib/Makefile,v 1.77 2007/06/01 19:38:07 tgl Exp $
subdir = contrib
top_builddir = ..
@@ -57,12 +57,9 @@ all install installdirs uninstall distprep clean distclean maintainer-clean:
$(MAKE) -C $$dir $@ || exit; \
done
-# We'd like check operations to run all the subtests before failing;
-# also insert a sleep to ensure the previous test backend exited before
-# we try to drop the regression database.
+# We'd like check operations to run all the subtests before failing.
check installcheck:
@CHECKERR=0; for dir in $(WANTED_DIRS); do \
- sleep 1; \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR