Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aHjWw-0001cf-P4 for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Jan 2016 02:45:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aHjWw-0002j5-7C for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Jan 2016 02:45:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHjVc-00015l-N7 for pgsql-hackers@postgresql.org; Sat, 09 Jan 2016 02:44:04 +0000 Received: from erelay4.ox.registrar-servers.com ([192.64.117.33]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aHjVX-0001A6-9z for pgsql-hackers@postgresql.org; Sat, 09 Jan 2016 02:44:03 +0000 Received: from localhost (unknown [127.0.0.1]) by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id 62D0F2206374; Sat, 9 Jan 2016 02:43:54 +0000 (UTC) Received: from erelay1.ox.registrar-servers.com ([127.0.0.1]) by localhost (erelay.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hGDpaUi37Ogx; Fri, 8 Jan 2016 21:43:52 -0500 (EST) Received: from mta1.ox.privateemail.com (mta1.ox.privateemail.com [198.187.29.246]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by erelay1.ox.registrar-servers.com (Postfix) with ESMTPS id 0CAD8220622E; Fri, 8 Jan 2016 21:43:52 -0500 (EST) Received: from [192.168.1.13] (OKVLON3010W-LP130-02-1176374393.dsl.bell.ca [70.30.12.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta1.ox.privateemail.com (Postfix) with ESMTPSA id 0E096400D4; Fri, 8 Jan 2016 21:43:50 -0500 (EST) Message-ID: <569073DC.8000303@ssinger.info> Date: Fri, 08 Jan 2016 21:43:40 -0500 From: Steve Singer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Petr Jelinek , PostgreSQL-development CC: Craig Ringer Subject: Re: pglogical - logical replication contrib module References: <5685BB86.5010901@2ndquadrant.com> In-Reply-To: <5685BB86.5010901@2ndquadrant.com> Content-Type: multipart/mixed; boundary="------------070503080904020303080204" X-Pg-Spam-Score: -1.2 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------070503080904020303080204 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 12/31/2015 06:34 PM, Petr Jelinek wrote: > Hi, > > I'd like to submit the replication solution which is based on the > pglogical_output [1] module (which is obviously needed for this to > compile). > Hi, make check gives me for extra in ../../contrib/pglogical_output contrib/pglogical; do make -C '../..'/$extra DESTDIR='/usr/local/src/postgresql'/tmp_install install >>'/usr/local/src/postgresql'/tmp_install/log/install.log || exit; done make[1]: *** ../../../../contrib/pglogical_output: No such file or directory. Stop. ../../src/Makefile.global:325: recipe for target 'temp-install' failed make: *** [temp-install] Error 2 ssinger@ssinger-laptop:/usr/local/src/postgresql/contrib/pglogical$ The attached patch fixes that but it then is creating the test database 'contrib_regression' not 'regression' changing pglogical.provider_dsn = 'contrib_regression' still leaves me with a lot of failures. --------------070503080904020303080204 Content-Type: text/x-diff; name="makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="makefile.diff" diff --git a/contrib/pglogical/Makefile b/contrib/pglogical/Makefile new file mode 100644 index 1640f63..a4dab88 *** a/contrib/pglogical/Makefile --- b/contrib/pglogical/Makefile *************** include $(top_srcdir)/contrib/contrib-gl *** 27,34 **** # typical installcheck users do not have (e.g. buildfarm clients). @installcheck: ; ! EXTRA_INSTALL += $(top_srcdir)/contrib/pglogical_output ! EXTRA_REGRESS_OPTS += $(top_srcdir)/contrib/pglogical/regress-postgresql.conf override CPPFLAGS := $(CPPFLAGS) -I$(top_srcdir)/contrib/pglogical_output --- 27,34 ---- # typical installcheck users do not have (e.g. buildfarm clients). @installcheck: ; ! EXTRA_INSTALL += contrib/pglogical_output ! EXTRA_REGRESS_OPTS += --temp-config=regress-postgresql.conf override CPPFLAGS := $(CPPFLAGS) -I$(top_srcdir)/contrib/pglogical_output --------------070503080904020303080204 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers --------------070503080904020303080204--