mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.12 2001/10/25 05:49:19 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.13 2001/11/05 17:46:23 momjian Exp $
|
||||
*
|
||||
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
|
||||
* written by Tatsuo Ishii
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
/* for getrlimit */
|
||||
#include <sys/resource.h>
|
||||
#endif /* WIN32 */
|
||||
#endif /* WIN32 */
|
||||
|
||||
/********************************************************************
|
||||
* some configurable parameters */
|
||||
@ -90,7 +90,7 @@ typedef struct
|
||||
int tid; /* teller id for this transaction */
|
||||
int delta;
|
||||
int abalance;
|
||||
} CState;
|
||||
} CState;
|
||||
|
||||
static void
|
||||
usage()
|
||||
@ -680,7 +680,7 @@ main(int argc, char **argv)
|
||||
#else /* but BSD doesn't ... */
|
||||
if (getrlimit(RLIMIT_OFILE, &rlim) == -1)
|
||||
{
|
||||
#endif /* HAVE_RLIMIT_NOFILE */
|
||||
#endif /* HAVE_RLIMIT_NOFILE */
|
||||
fprintf(stderr, "getrlimit failed. reason: %s\n", strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
@ -690,7 +690,7 @@ main(int argc, char **argv)
|
||||
fprintf(stderr, "Use limit/ulimt to increase the limit before using pgbench.\n");
|
||||
exit(1);
|
||||
}
|
||||
#endif /* #ifndef __CYGWIN__ */
|
||||
#endif /* #ifndef __CYGWIN__ */
|
||||
break;
|
||||
case 'C':
|
||||
is_connect = 1;
|
||||
|
Reference in New Issue
Block a user