Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd156e1f

Browse files
committed
(Apologies for fat-fingering cvs commit command...) Should have read:
Remove unportable use of tfind/tsearch in favor of bsearch. Fix uprandom number generator to use random() not rand() and to actually honorits min/max arguments properly. That wasn't so important before, butwith exposure of capability to ask for general ranges, it will be.
1 parent6ae7671 commitd156e1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎contrib/pgbench/pgbench.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.41 2005/10/07 15:31:49 tgl Exp $
2+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.42 2005/10/07 15:34:17 tgl Exp $
33
*
44
* pgbench: a simple benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -21,6 +21,8 @@
2121

2222
#include"libpq-fe.h"
2323

24+
#include<ctype.h>
25+
2426
#ifdefWIN32
2527
#include"win32.h"
2628
#else
@@ -39,8 +41,6 @@
3941
#include<sys/resource.h>
4042
#endif/* ! WIN32 */
4143

42-
#include<ctype.h>
43-
4444
externchar*optarg;
4545
externintoptind;
4646

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp