Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361863 - dev-db/postgresql-base-9.0.3-r1 pg_dump no longer on path
Summary: dev-db/postgresql-base-9.0.3-r1 pg_dump no longer on path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 05:16 UTC by Jeff Kowalczyk
Modified: 2011-04-05 10:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2011-04-04 05:16:23 UTC
As of postgresql-base-9.0.3-r1, pg_dump (backup utility) is located at:

/usr/lib64/postgresql-9.0/bin/pg_dump

and is not found on the path. I use sudo -u the postgresuser pg_dump to run backups. 
$ sudo emerge postgresql-base -pv
[ebuild   R   ] dev-db/postgresql-base-9.0.3-r1  USE="ldap nls pam readline ssl zlib -doc -kerberos -pg_legacytimestamp -threads" LINGUAS="-af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" 0 kB

Thanks.

Reproducible: Always
Comment 1 Marcin Mirosław 2011-04-04 07:55:23 UTC
What version of eselect-postgres have you got? What eselect postgresql list" displays?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-04 12:10:07 UTC
You should have /usr/bin/pg_dump which is a symlink (set by eselect postgresql) which should point to /usr/lib/eselect-postgresql/binwrapper.
Comment 3 Jeff Kowalczyk 2011-04-05 03:15:59 UTC
Thank you. It was the lack of running eselect postgresql that caused the missing symlinks. Since I only run one version of PostgreSQL at a time, I did not know I needed to run this. At any rate, the tool did not run automatically on my system. Thanks for the advice.
Comment 4 Aaron W. Swenson gentoo-dev 2011-04-05 10:58:21 UTC
This is fixed with app-admin/eselect-postgresql-1.0.6