@@ -34,15 +34,16 @@ o features of pgbench
3434
3535o 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 the directory where PostgreSQL installed .
42+ (2) Run make in this directory.
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
4748o 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 very carefully if you have tables having same
56+ destroyed. Be very careful 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, usually 5432.
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 -n and -v pgbench will vacuum tellers and
110+ With neither -n nor -v, pgbench will vacuum tellers and
110111 branches tables only.
111112
112113 -S
0 commit comments