summaryrefslogtreecommitdiff
path: root/contrib/pgbench/pgbench.c
diff options
context:
space:
mode:
authorPeter Eisentraut2000-07-12 22:59:15 +0000
committerPeter Eisentraut2000-07-12 22:59:15 +0000
commitcb292206c5c160cde6eb5618de64f810e62f378a (patch)
tree54e4fc4f39a97edad06ae0f8266d87c46a506d06 /contrib/pgbench/pgbench.c
parentdce43d22f052f7c9cbbf9535c9e50aaa7e51c1d9 (diff)
Remove a bunch of unused configure tests, in particular cases where
* the result is not recorded anywhere * the result is not used anywhere * the result is only used in some places, whereas others have been getting away with it * the result is used improperly Also make command line options handling a little better (e.g., --disable-locale, while redundant, should really still *dis*able).
Diffstat (limited to 'contrib/pgbench/pgbench.c')
-rw-r--r--contrib/pgbench/pgbench.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index 76ac80d68f4..a8b0b045067 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1,5 +1,5 @@
/*
- * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.4 2000/05/29 05:44:29 tgl Exp $
+ * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.5 2000/07/12 22:58:57 petere Exp $
*
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
* written by Tatsuo Ishii
@@ -30,9 +30,7 @@
#include "win32.h"
#else
#include <sys/time.h>
-#if HAVE_UNISTD_H
#include <unistd.h>
-#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>