From: Steve Singer <steve@ssinger.info>
To: Petr Jelinek <petr@2ndquadrant.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Craig Ringer <craig@2ndquadrant.com>
Subject: Re: pglogical - logical replication contrib module
Date: Fri, 08 Jan 2016 21:43:40 -0500
Message-ID: <569073DC.8000303@ssinger.info> (raw)
In-Reply-To: <5685BB86.5010901@2ndquadrant.com>
References: <5685BB86.5010901@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackersAttachments:makefile.diff (text/x-diff, 855B) downloaddiff --git a/contrib/pglogical/Makefile b/contrib/pglogical/Makefilenew file mode 100644index 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
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-hackers@postgresql.org
Cc: steve@ssinger.info, petr@2ndquadrant.com, craig@2ndquadrant.com
Subject: Re: pglogical - logical replication contrib module
In-Reply-To: <569073DC.8000303@ssinger.info>
* 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