I'm on a RHEL 7, trying to install a ovirt

The database used is on a remote server, using a postgres 9.4.

The backup of the previous database fails with :
2015-12-10 12:04:13 DEBUG 
otopi.**FILTERED**_engine_setup.engine_common.database database.backup:661 db 
backup res {'result': [{'stderr': 'pg_dump: server version: 9.4.5; pg_dump 
version: 9.2.14\npg_dump: aborting because of server version mismatch\n', 'rc': 
1}], 'stdout': ''}

But the good pg_dump is in the path:

~# type pg_dump
pg_dump is /usr/pgsql-9.4/bin/pg_dump

Although in the log file:

2015-12-10 12:40:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 

Why ? How can I enforce the use of the latest pg_dump without rewrinting the 
'/bin/pg_dump' which is owned by the official postgres package ?

Users mailing list

Reply via email to