2ndQuadrant / pglogical

Logical Replication extension for PostgreSQL 17, 16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4 (Postgres), providing much faster replication than Slony, Bucardo or Londiste, as well as cross-version upgrades.
http://2ndquadrant.com/en/resources/pglogical/
Other
1.01k stars 153 forks source link

How can I install pglogical on EDB96?? #341

Open daniel1205 opened 3 years ago

daniel1205 commented 3 years ago

When I try to complie pglogical on EnterpriseDB 9.6, but I got error message as below.. :(


pglogical_conflict.c: In function ‘find_index_tuple’: pglogical_conflict.c:188:4: error: too few arguments to function ‘XactLockTableWait’ XactLockTableWait(xwait, NULL, NULL, XLTW_None); ^ In file included from pglogical_conflict.c:35:0: /opt/edb/as9.6/include/server/storage/lmgr.h:75:13: note: declared here extern void XactLockTableWait(TransactionId xid, Relation rel, ^ pglogical_conflict.c:223:10: error: too few arguments to function ‘heap_lock_tuple’ &buf, &hufd); ^ In file included from pglogical_conflict.c:20:0: /opt/edb/as9.6/include/server/access/heapam.h:167:20: note: declared here extern HTSU_Result heap_lock_tuple(Relation relation, HeapTuple tuple, ^ pglogical_conflict.c: In function ‘tuple_to_stringinfo’: pglogical_conflict.c:779:3: error: implicit declaration of function ‘TupleDescAttr’ [-Werror=implicit-function-declaration] attr = TupleDescAttr(tupdesc, natt); ^ pglogical_conflict.c:779:8: warning: assignment makes pointer from integer without a cast [enabled by default] attr = TupleDescAttr(tupdesc, natt); ^ cc1: some warnings being treated as errors make: *** [pglogical_conflict.o] Error 1

petere commented 3 years ago

This is evidently not supported.