Re: Upgrading 9.6.9 to 10.4

From: John Scalia <jayknowsunix(at)gmail(dot)com>
To: David Morton <david(dot)morton(at)eroad(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Upgrading 9.6.9 to 10.4
Date: 2018-06-27 14:13:58
Message-ID: 1C31B47D-0394-4349-A948-484AB8D09D93@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I managed to download the sources for the pglogical extension and successfully built it for my 9.6.9 instance. I then tried issuing a “make clean”, then reset the PATH setting, so it could find version 10, but the “make USE_PGXS=1” then failed with:

pglogical_output_plugin.h:20:30: fatal error: pglogical_compat.h: No such file or directory

But I do see the required file in the compat10 sub directory, so why can’t make find it?

Sent from my iPhone

> On Jun 26, 2018, at 6:47 PM, David Morton <david(dot)morton(at)eroad(dot)com> wrote:
>
> Take a look at pglogical ... we've used it for 9.4 -> 9.6 and the same theories apply going to 10.x I imagine. People have used it in combination with pgbouncer to achieve near outage-less upgrades. Some helpful links below:
> https://blog.2ndquadrant.com/pglogical-logical-replication-postgresql-10/
> https://blog.2ndquadrant.com/near-zero-downtime-automated-upgrades-postgresql-clusters-cloud/
> https://blog.2ndquadrant.com/near-zero-downtime-automated-upgrades-postgresql-clusters-cloud-part-ii/
>
>
> On 27/06/18, 10:38 AM, "John Scalia" <jayknowsunix(at)gmail(dot)com> wrote:
>
> Hi all,
>
> My employer is in the process of upgrading PostgreSQL, and they would like me to make this happen without any real interruption of service. As I understand it, 9.6 does not support the publish/subscribe model like 10.4 does, but logical replication is the basis of that model. So, does anyone have any suggestions for how to implement the receiver side on a 10.4 server? Or could you at least point me to some sort of how-to page?
>
> TIA,
> Jay
>
>
> Sent from my iPad
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Colin Beckingham 2018-06-27 14:40:44 Bytea data in SQL output pane
Previous Message Johannes Truschnigg 2018-06-27 13:16:52 Re: Streaming replication connection break - unexpected EOF on standby connection