Wrap pg_bench from -contrib

Bug #1068194 reported by Maik Kulbe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql-common (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

It seems that PostgreSQL 9.1 (and as it seems older versions too) is missing the pgbench binary in its contrib-package.

The contrib-package explicitly states, that it contains this program:

$> apt-cache show postgresql-contrib-9.1
[...]
  pgbench - TPC-B like benchmark
[...]

After trying a locate of the binary it seems that it is completely missing. I've tested this on my computer(12.04) and the computer of a co-worker(10.04) and on both the pgbench binary was missing after installing the contrib package.

Revision history for this message
Martin Pitt (pitti) wrote :

It's in /usr/lib/postgresql/9.1/bin/pgbench. postgresql-common could wrap it to make it accessible in the $PATH, though.

Changed in postgresql-9.1 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
summary: - Missing pgbench in contrib package
+ Wrap pg_bench from -contrib
affects: postgresql-9.1 (Ubuntu) → postgresql-common (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr.

Changed in postgresql-common (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package postgresql-common - 140

---------------
postgresql-common (140) experimental; urgency=low

  [ Martin Pitt ]
  * t/001_packages.t: Also check that -contrib is installed.
  * debian/backport-ppa: Backport -common for Ubuntu 12.10.
  * PgCommon.pm: Recognize "include_if_exists" directive. (LP: #1098986)
  * pg_ctlcluster: Recreate a missing /var/log/postgresql/ if needed.
    (LP: #1009989)
  * debian/postgresql-client-common.links: Wrap pgbench with pg_wrapper.
    (LP: #1068194)

  [ Christoph Berg ]
  * testsuite: The default list of umasks to test (022 077) can be overridden
    by setting the environment variable PG_UMASKS.
  * t/003_package_checks.t: Ensure psql is linked against libedit.
  * t/005_PgCommon.t: Increase sleep time after netcat launch to 200ms.
  * t/020_create_sql_remove.t: Test process title update.
  * pg_createcluster: Allow passing of initdb arguments on the command line.
    If --auth parameters are passed, skip updating the generated pg_hba.conf
    file.
  * pg_virtualenv: Allow passing initdb arguments to pg_createcluster.
  * pg_upgradecluster: Print a helpful message when invoked on the target
    version. Problem seen on #postgresql.
  * t/030_errors.t: Adjust testsuite for this.
  * debian/supported-versions: Handle unset variables from /etc/os-release
    gracefully. Spotted by x4rlos on #postgresql.
  * pg_buildext: Set USE_PGXS=1, and srcdir (needed by plr).

 -- Christoph Berg <email address hidden> Thu, 31 Jan 2013 10:36:41 +0100

Changed in postgresql-common (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.