ubuntu pg_wrapper selects the wrong version for pg_restore - Mailing list pgsql-admin

From robert
Subject ubuntu pg_wrapper selects the wrong version for pg_restore
Date
Msg-id 49114390-1ce9-fc64-eb2a-aa7bf141a01c@redcor.ch
Whole thread Raw
Responses Re: ubuntu pg_wrapper selects the wrong version for pg_restore  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
List pgsql-admin
hi there,

I have postgresql 10.1 installed

when I use pg_restore the wrong version is selected:

robert@lappi:~/odoo_instances$ pg_restore  -V
pg_restore (PostgreSQL) 9.5.10


when I execute

robert@lappi:~/odoo_instances$ pg_restore --cluster 10/main -V
pg_restore (PostgreSQL) 10.1

the correct one is used.


how can I make pg_wrapper use this one as default?


thanks

robert




pgsql-admin by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Postgres install
Next
From: Shreeyansh Dba
Date:
Subject: Re: ubuntu pg_wrapper selects the wrong version for pg_restore