Re: [ADMIN] Upgrading postgres to 10 running with patroni

From: Alex Kliukin <alexk(at)hintbits(dot)com>
To: Debraj Manna <subharaj(dot)manna(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [ADMIN] Upgrading postgres to 10 running with patroni
Date: 2017-12-01 10:29:09
Message-ID: 1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Dec 1, 2017, at 11:17, Alex Kliukin wrote:
> Hello,
>
>
> The last step is definitely wrong. You should not copy
> postmaster.opts, postgresql.base.conf and postgresql.conf. Instead,
> you should configure the postgresql.conf in the PostgreSQL 10 data
> directory to match the parameters of your old cluster. Copying
> pg_hba.conf seems alright, since the one from 9.5 is compatible
> with 10.
Correction: since your configuration files are clearly not in the data directory, but in /etc/... you should edit them (and copy pg_hba.conf) there, not to the data directory.
Sincerely,
Alex

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2017-12-01 15:20:23 Re: Upgrading from 9.2 -> 9.6: ERROR with 'could not execute query: ERROR: permission denied for type my_type_name'
Previous Message Alex Kliukin 2017-12-01 10:17:52 Re: [ADMIN] Upgrading postgres to 10 running with patroni