ubuntu pg_wrapper selects the wrong version for pg_restore

From: robert <robert(at)redcor(dot)ch>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: ubuntu pg_wrapper selects the wrong version for pg_restore
Date: 2018-02-06 06:06:55
Message-ID: 49114390-1ce9-fc64-eb2a-aa7bf141a01c@redcor.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

hi there,

I have postgresql 10.1 installed

when I use pg_restore the wrong version is selected:

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

when I execute

robert(at)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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2018-02-06 07:39:16 Re: ubuntu pg_wrapper selects the wrong version for pg_restore
Previous Message Dave Cramer 2018-02-06 00:38:27 Re: Postgres install