solution: Re: ubuntu pg_wrapper selects the wrong version forpg_restore - Mailing list pgsql-admin

From robert
Subject solution: Re: ubuntu pg_wrapper selects the wrong version forpg_restore
Date
Msg-id a4f95278-ca78-a898-9bdf-23efac7ea6a2@redcor.ch
Whole thread Raw
In response to Re: ubuntu pg_wrapper selects the wrong version for pg_restore  (Shreeyansh Dba <shreeyansh2014@gmail.com>)
List pgsql-admin
thanks,
On 06.02.2018 08:39, Shreeyansh Dba wrote:
Hi,
Please find response inline...
I think you need to set your environment variable with the new version in .bash_profile, this will also help pg_wrapper to pick the correct version you are looking for.
i added the following to: /etc/postgresql-common/user_clusters
# USER  GROUP   VERSION CLUSTER DATABASE
*       *       10      main    *

pgsql-admin by date:

Previous
From: Thomas Poty
Date:
Subject: advice about logging
Next
From: Laurenz Albe
Date:
Subject: Re: advice about logging