pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Move configuration files with pg_upgrade
Date: Fri, 5 Jun 2020 00:05:56 +0200
Message-ID: <20200604220556.GA21600@hjp.at> (raw)
In-Reply-To: <VI1PR02MB3023CA0C317C0CEB3D5DC18C94890@VI1PR02MB3023.eurprd02.prod.outlook.com>
References: <VI1PR02MB3023CA0C317C0CEB3D5DC18C94890@VI1PR02MB3023.eurprd02.prod.outlook.com>

On 2020-06-04 19:52:19 +0000, Tanja Savic wrote:
> I did Postgresql upgrade from v10 to v12 using pg_upgrade (on Linux Ubuntu
> server). 

Did you use the packages from the PGDG server or from Ubuntu?

> Of course i wanted settings in pg_hba.conf and postgresql.conf to keep, but
> after the upgrade there were new configuration files and I moved it manually. 

I recently did an upgrade from 9.6 to 12 on a Debian system (using the
PGDG packages - I think they should be the same for Debian and Ubuntu)
and pg_uprade migrated the existing configuration without problems.
So that's not a general problem - did you get any error messages or
warnings during the upgrade?

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20200604220556.GA21600@hjp.at>
Permalink:  ../20200604220556.GA21600@hjp.at/
Also on:    postgresql.org/message-id/20200604220556.GA21600@hjp.at

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Move configuration files with pg_upgrade
  In-Reply-To: <20200604220556.GA21600@hjp.at>
  References: <VI1PR02MB3023CA0C317C0CEB3D5DC18C94890@VI1PR02MB3023.eurprd02.prod.outlook.com> <20200604220556.GA21600@hjp.at>

* 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