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

Commit810c0b8

Browse files
committed
Update README's install instructions to agree with current reality.
1 parent64a1b62 commit810c0b8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

‎contrib/pgbench/README.pgbench

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ o features of pgbench
3434

3535
o How to install pgbench
3636

37-
(1)Edit the first line in Makefile
37+
(1)Configure and build the standard Postgres distribution.
3838

39-
POSTGRESHOME = /usr/local/pgsql
39+
You can get away with just running configure at the top level
40+
and doing "make all" in src/interfaces/libpq.
4041

41-
so that it points to thedirectory where PostgreSQL installed.
42+
(2) Run make in thisdirectory.
4243

43-
(2) Run configure
44-
45-
(3) Run make. You will see an executable file "pgbench" there.
44+
You will see an executable file "pgbench". You can run it here,
45+
or install it with the standard Postgres programs by doing
46+
"make install".
4647

4748
o How to use pgbench?
4849

@@ -52,7 +53,7 @@ o How to use pgbench?
5253

5354
where <dbname> is the name of database. pgbench uses four tables
5455
accounts, branches, history and tellers. These tables will be
55-
destroyed. Be verycarefully if you have tables having same
56+
destroyed. Be verycareful if you have tables having same
5657
names. Default test data contains:
5758

5859
table# of tuples
@@ -85,7 +86,7 @@ o options
8586

8687
-p port
8788
the port number that the backend is accepting. default is
88-
5432.
89+
libpq's default, usually5432.
8990

9091
-c number_of_clients
9192
Number of clients simulated. default is 1.
@@ -106,7 +107,7 @@ o options
106107

107108
-v
108109
Do vacuuming before testing. This will take some time.
109-
Without both -nand -v pgbench will vacuum tellers and
110+
With neither -nnor -v, pgbench will vacuum tellers and
110111
branches tables only.
111112

112113
-S

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp