diff options
author | Tom Lane | 2001-02-16 21:41:53 +0000 |
---|---|---|
committer | Tom Lane | 2001-02-16 21:41:53 +0000 |
commit | 810c0b85d2e4ef54528c355b6019c4f3d6aa8351 (patch) | |
tree | 10cc5e53352f17c6782bc33bfc4205de645f6499 /contrib/pgbench/README.pgbench | |
parent | 64a1b6263db10d1241c23a9398d6ab1f017057de (diff) |
Update README's install instructions to agree with current reality.
Diffstat (limited to 'contrib/pgbench/README.pgbench')
-rw-r--r-- | contrib/pgbench/README.pgbench | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/contrib/pgbench/README.pgbench b/contrib/pgbench/README.pgbench index 093f2b98696..d062b01e816 100644 --- a/contrib/pgbench/README.pgbench +++ b/contrib/pgbench/README.pgbench @@ -34,15 +34,16 @@ o features of pgbench o How to install pgbench - (1) Edit the first line in Makefile + (1) Configure and build the standard Postgres distribution. - POSTGRESHOME = /usr/local/pgsql + You can get away with just running configure at the top level + and doing "make all" in src/interfaces/libpq. - so that it points to the directory where PostgreSQL installed. + (2) Run make in this directory. - (2) Run configure - - (3) Run make. You will see an executable file "pgbench" there. + You will see an executable file "pgbench". You can run it here, + or install it with the standard Postgres programs by doing + "make install". o How to use pgbench? @@ -52,7 +53,7 @@ o How to use pgbench? where <dbname> is the name of database. pgbench uses four tables accounts, branches, history and tellers. These tables will be - destroyed. Be very carefully if you have tables having same + destroyed. Be very careful if you have tables having same names. Default test data contains: table # of tuples @@ -85,7 +86,7 @@ o options -p port the port number that the backend is accepting. default is - 5432. + libpq's default, usually 5432. -c number_of_clients Number of clients simulated. default is 1. @@ -106,7 +107,7 @@ o options -v Do vacuuming before testing. This will take some time. - Without both -n and -v pgbench will vacuum tellers and + With neither -n nor -v, pgbench will vacuum tellers and branches tables only. -S |