
10 Dec
2015
10 Dec
'15
3:41 p.m.
Le 10 déc. 2015 à 13:51, Yedidyah Bar David <didi@redhat.com> a écrit :
engine-setup --otopi-environment='SYSTEM/commandPath=str:/usr/pgsql-9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
I got better results with --otopi-environment="COMMAND/pg_dump=str:'/usr/pgsql-9.4/bin/pg_dump'" But anyway: ~$ ls -l /bin/pg_dump lrwxrwxrwx 1 root root 31 Dec 10 13:13 /bin/pg_dump -> /etc/alternatives/pgsql-pg_dump So it should not be needed to specify it at command line. Once the latest version of postgres is installed : ~# alternatives --list | grep pg_dump pgsql-pg_dump auto /usr/pgsql-9.4/bin/pg_dump I don't know why my first try failed. This time I installed pg-9.4 before and everything was fine.