pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Kliukin <alexk@hintbits.com>
To: Debraj Manna <subharaj.manna@gmail.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: [ADMIN] Upgrading postgres to 10 running with patroni
Date: Fri, 01 Dec 2017 11:29:09 +0100
Message-ID: <1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com> (raw)
In-Reply-To: <1512123472.1347799.1190472760.463DC314@webmail.messagingengine.com>
References: <CAF6DVKO8K761=3fZks_au0MHuOFD4xXBs5bM70qpaf6M5qJ=eQ@mail.gmail.com>
	<CAF6DVKO27E=1nU7HWWxDczsw53Ata4djPjf9mMOP5_smO5RFZA@mail.gmail.com>
	<CABUevEwS+g2ZdH7jN_tgMDZZYfqe6E-FchW3Z3QExwOe4RuXXw@mail.gmail.com>
	<CAF6DVKMvdgHRXQ_pGhL1UYUoMDN9EY-UOYV+AbpQXbvsBfEJSg@mail.gmail.com>
	<CAF6DVKNn76CRhaCJUYJJ9jk7grd+HUBf-XfAjPM893q1BTNLBA@mail.gmail.com>
	<1512123472.1347799.1190472760.463DC314@webmail.messagingengine.com>




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

view thread (8+ messages)

Message-ID: <1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com>
Permalink:  ../1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com/
Also on:    postgresql.org/message-id/1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alexk@hintbits.com, subharaj.manna@gmail.com, magnus@hagander.net
  Subject: Re: [ADMIN] Upgrading postgres to 10 running with patroni
  In-Reply-To: <1512124149.1351359.1190486768.2A61F161@webmail.messagingengine.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox