Re: Logical Replication WIP

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Steve Singer <steve(at)ssinger(dot)info>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical Replication WIP
Date: 2017-01-15 22:57:49
Message-ID: b48b1eb75e1581baf4bffb448015bb8f@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2017-01-15 23:20, Petr Jelinek wrote:

> 0001-Add-PUBLICATION-catalogs-and-DDL-v18.patch
> 0002-Add-SUBSCRIPTION-catalog-and-DDL-v18.patch
> 0003-Define-logical-replication-protocol-and-output-plugi-v18.patch
> 0004-Add-logical-replication-workers-v18.patch
> 0005-Add-separate-synchronous-commit-control-for-logical--v18.patch

patches apply OK (to master), but I get this compile error:

execReplication.c: In function ‘ExecSimpleRelationInsert’:
execReplication.c:392:41: warning: passing argument 3 of
‘ExecConstraints’ from incompatible pointer type
[-Wincompatible-pointer-types]
ExecConstraints(resultRelInfo, slot, estate);
^~~~~~
In file included from execReplication.c:21:0:
../../../src/include/executor/executor.h:197:13: note: expected
‘TupleTableSlot * {aka struct TupleTableSlot *}’ but argument is of type
‘EState * {aka struct EState *}’
extern void ExecConstraints(ResultRelInfo *resultRelInfo,
^~~~~~~~~~~~~~~
execReplication.c:392:4: error: too few arguments to function
‘ExecConstraints’
ExecConstraints(resultRelInfo, slot, estate);
^~~~~~~~~~~~~~~
In file included from execReplication.c:21:0:
../../../src/include/executor/executor.h:197:13: note: declared here
extern void ExecConstraints(ResultRelInfo *resultRelInfo,
^~~~~~~~~~~~~~~
execReplication.c: In function ‘ExecSimpleRelationUpdate’:
execReplication.c:451:41: warning: passing argument 3 of
‘ExecConstraints’ from incompatible pointer type
[-Wincompatible-pointer-types]
ExecConstraints(resultRelInfo, slot, estate);
^~~~~~
In file included from execReplication.c:21:0:
../../../src/include/executor/executor.h:197:13: note: expected
‘TupleTableSlot * {aka struct TupleTableSlot *}’ but argument is of type
‘EState * {aka struct EState *}’
extern void ExecConstraints(ResultRelInfo *resultRelInfo,
^~~~~~~~~~~~~~~
execReplication.c:451:4: error: too few arguments to function
‘ExecConstraints’
ExecConstraints(resultRelInfo, slot, estate);
^~~~~~~~~~~~~~~
In file included from execReplication.c:21:0:
../../../src/include/executor/executor.h:197:13: note: declared here
extern void ExecConstraints(ResultRelInfo *resultRelInfo,
^~~~~~~~~~~~~~~
make[3]: *** [execReplication.o] Error 1
make[2]: *** [executor-recursive] Error 2
make[1]: *** [install-backend-recurse] Error 2
make: *** [install-src-recurse] Error 2

Erik Rijkers

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2017-01-16 00:19:59 Re: Logical Replication WIP
Previous Message Petr Jelinek 2017-01-15 22:20:53 Re: Logical Replication WIP