pgbench

Run a benchmark test on PostgreSQL. More information: <https://www.postgresql.org/docs/10/pgbench.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y postgresql-contrib-9.1
Ubuntu
RUN apt-get update && \ apt-get install -y postgresql-contrib-9.3
Alpine
RUN apk add postgresql-contrib
Arch Arch Linux
RUN pacman -S --noconfirm postgresql-old-upgrade
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y postgresql-11
CentOS
RUN yum install -y postgresql-contrib
Fedora
RUN dnf install -y postgresql-upgrade
Raspbian
RUN apt-get update && \ apt-get install -y postgresql-contrib-9.5
click the source code to copy install pgbench on any operating system with command-not-found.com