0

I use pgbench tool on a CentOS 8 server without installed PostgreSQL. In case Postgresql 10 install command is:

dnf install postgresql-contrib

pgbench --version
pgbench (PostgreSQL) 10.23

With PostgreSql 13 it does not work:

pgbench --version
-bash: pgbench: command not found

What package should I install for installing pgbanch tool?

2
  • What did you do? Just thinking about v13 wouldn't make the v10 disappear. You must have done something Commented Jul 15, 2023 at 13:16
  • @jjanes I have installed few packages: dnf install postgresql-contrib postgresql13 postgresql13-libs And bgbench tool is not available. Commented Jul 17, 2023 at 11:22

1 Answer 1

1

pgbench is a client tool. Just install the postgresql13 and the postgresql13-libs packages, and you are good.

3
  • I have installed the packages. Tool is not installed (. May be the pgbench tool was moved into an separate package? Commented Jul 17, 2023 at 11:24
  • 1
    Look around /usr/pgsql-13/bin/pgbench maybe the utility is installed but just not mentioned in $PATH Commented Jul 17, 2023 at 11:36
  • @Melkij thanks, it is the solution. Looks like an issue with PATH. Commented Jul 17, 2023 at 11:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.