Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdIAu-0007kr-16 for pgsql-admin@arkaria.postgresql.org; Wed, 11 Jul 2018 16:41:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdIAq-0000TL-4v for pgsql-admin@arkaria.postgresql.org; Wed, 11 Jul 2018 16:41:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdIAp-0000TE-QN for pgsql-admin@lists.postgresql.org; Wed, 11 Jul 2018 16:41:03 +0000 Received: from mout.gmx.net ([212.227.17.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fdIAm-0007Mi-6f for pgsql-admin@lists.postgresql.org; Wed, 11 Jul 2018 16:41:02 +0000 Received: from nighthawk.chemicalconnection.dyndns.org ([88.217.119.180]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MNIO5-1fk9nK3eR7-006xlB; Wed, 11 Jul 2018 18:40:47 +0200 Received: from mbanck by nighthawk.chemicalconnection.dyndns.org with local (Exim 4.84_2) (envelope-from ) id 1fdI6T-0000Hm-ON; Wed, 11 Jul 2018 18:36:33 +0200 Date: Wed, 11 Jul 2018 18:36:33 +0200 From: Michael Banck To: John Scalia Cc: David Morton , "pgsql-admin@lists.postgresql.org" Subject: Re: Upgrading 9.6.9 to 10.4 Message-ID: <20180711163633.GL23217@nighthawk.caipicrew.dd-dns.de> References: <8D4726EE-74E8-494B-9ED1-817EF2BB5E4B@gmail.com> <55998B04-BB01-45F9-B478-BCE1DA4E8E6E@eroad.com> <67BBE981-45B6-4CC8-BA3C-DF9210D46D8F@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <67BBE981-45B6-4CC8-BA3C-DF9210D46D8F@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: X-Provags-ID: V03:K1:hBByVdqkuJGRi6Iq7/GcoLaYMt6FrOaS9kQwPH6Fv8GbbrvSpFi boGfr5eKKp6Bv1D+hTKGgbyXr98M7S7xnZA93IsK3Q76VL4NSdrMXVSED0hP2GbHoKfSqxs pXd1srQDsMah6CP/n/jaYn6AvuYoVBo8W37MgsoWDXSts/IOOz/bVeLg7rh5mUUifUlyp7I PRSoKzd5r5jpPF8bkggsg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YmAjTdIYrsc=:sUhg3+FmAkmZ0RVXslbsmm tuOoXSa7ry8SuOWs/MqC4jlArZPml+uj7NLwfyNbdImn/6KIMEsBxkzW71J5BAQ86k5OPxWl3 nx//sg6h7vrAj4atfOdo/7Jnwy75UGv7+XbkuIscCWmooC8hUdDCcdVxR6LC1MEo8rK/QqsMP JIYFqFSGlKDP1rGKXLfukZvnYeyRN2vbdTZTPPYpHYT9JWB2gDfO7Lx7CqCqYaAMPIIXOkQ/Y bgbCsRM2x1a0UU6tVFJrGPh2hEhHWpWFtVwOGFD8nh9kWPGYMeZZxgcldZ5P0qS2nu1pI0ALb b/9JbMA3CiT9o/5npKvwSYIwsB3vuneuT+660zpAIJ4LWBAqS4Zk8022QOtrtbUgOUJHzXMoF RVlRkmqe/jV/Xg+davpQ6NSJRt/iLmW26c9PNdMe7ufnMRNatJWsdVzMvmgTdS/f0YjGMDrp+ 3hjSH580SiEcJfS5AzCPrDjwD+qOSep/B6TDAAMTUoTDAiPMjZyFFlN81Sc3edrwVutwxPs8f 3gEJCHxidokLqv+77ItZsZ03c4Xn4aGqJfnDMlfRQAsOxCfrNDhuARBay0gu9diw/39EWIXjg WZwguwA9HZvVmrd9oKGqjhau0EKA0MlGO2BjAg6EYyEBDwNupB9DY0dEqoFgZiEh1n7lu29iv cx7pDrq2y5RbPBO+y7DqZdzqTbSCtyh470TIiMfVDxWtQNkYfTEMKqZviOGNYWAKJKjCgC+83 3GDvoeS/YfHfk/Bp9bX5fdOzpN38s2BJXLDvr5ktfYIttkbGodkvVVFvO9M= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi John, On Wed, Jun 27, 2018 at 03:53:20PM -0400, John Scalia wrote: > Ok, I figured out why the Makefile is broken for pglogical for > PostgreSQL V.10. The pg_config utility returned 10.4 for the line > setting Makefile parameter PGVER. Adding a simple “| cut -c1-2 to that > line allows the Makefile to run for 9.6 and 10.4, probably other > versions as well. (10.4 isn't a major version, it's the fourth minor/patch release of the v10 major version). If you don't have the `| cut -c 1-2' in your Makefile then you're probably looking at the wrong branch, the pglogical master branch on github is stale, you need (for reasons that escape me) the REL2_x_STABLE branch. Or probably the 2.2.0 release tarball would work just as fine. > There are compile problems, however, in several source files. I don’t > have the code in front of me, but one doing heap work calls > replorigin_drop with a single argument, but that changed in V10 to > need 2 args. Fairly easy to fix that one. > > Another source calls ExecARUpdateTriggers, and its friends Insert and > Delete, those signatures have changed as well, and I haven’t yet > figured out how to alter pglogical for compiling these. I assume those failues are addressed in the above branch/release as well, but I have not verified that. Cheers Michael -- Michael Banck Projektleiter / Senior Berater Tel.: +49 2166 9901-171 Fax: +49 2166 9901-100 Email: michael.banck@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer Unser Umgang mit personenbezogenen Daten unterliegt folgenden Bestimmungen: https://www.credativ.de/datenschutz