Scott Marlowe smarlowe
Thu Feb 17 17:38:49 PST 2005
On Mon, 2005-02-14 at 13:37, Adam Wilson wrote:
> Hello,
>   I just installed Slony on a Redhat 9 box with
> Postgres 7.4.5 on it and I have been unable to get far
> in the test setup procedure.
>   In the Slony basic master-slave test document, I
> followed the instructions for setting up the pgbench
> and pgbenchslave test DB's.  But it wants me to run
> the following command:
> 
> pgbench -i -s 1 -U $PGBENCHUSER -h $MASTERHOST
> $MASTERDBNAME
> 
> I can't for the life of me figure out what "pgbench"
> is that the document is referring to?  Is it an
> executable that was supposed to come with the Slony
> install?  Something somewhere in
> "/usr/local/pgsql/bin"?  I can't
> find anything like it in the postgres directories and
> I don't know what the document could be referring to.
>   I would like to follow the advice of the install and
> first try this example using pgbench before I start
> trying to use Slony on our production DB.  Any help or
> insight into what this doc is talking about would be
> great.

It's a test util that comes with postgresql.  On my box it's in the
/usr/local/src/postgres-7.4.7/contrib/pgbench

just go in there and do

make 
make install

and you should have it.


More information about the Slony1-general mailing list