We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d78feff commit 7ecf7eeCopy full SHA for 7ecf7ee
contrib/pgbench/pgbench.c
@@ -1,5 +1,5 @@
1
/*
2
- * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.1 2000/01/15 12:38:09 ishii Exp $
+ * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.2 2000/04/08 18:32:24 tgl Exp $
3
*
4
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
5
* written by Tatsuo Ishii
@@ -527,7 +527,7 @@ int main(int argc, char **argv) {
527
exit(1);
528
}
529
#ifndef __CYGWIN32__
530
-#ifdef HAVE_RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */
+#ifdef RLIMIT_NOFILE /* most platform uses RLIMIT_NOFILE */
531
if (getrlimit(RLIMIT_NOFILE,&rlim) == -1) {
532
#else /* but BSD doesn't ... */
533
if (getrlimit(RLIMIT_OFILE,&rlim) == -1) {
0 commit comments