I have postgreSQL 9.1 installed in my system. I want to run pgbench but the program is not istalled. I tried these but failed:
apt-get install postgresql91-contrib
no packet found
apt-get install postgresql-contrib
no packet found
ln -s usr/share/postgresql-common/pg_wrapper /usr/bin/pgbench
made the symlink but I get this error:
Error: pg_wrapper: invalid command name
What am I doing wrong?
Your mistake in:
It should be:
Or just run:
And after that you can run: