-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
1.0.7 fails to build against PostgreSQL 18 beta 2. Can you please take a look? Thanks! Devrim
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/usr/pgsql-18/include/server -I/usr/pgsql-18/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include -c -o wal2mongo.o wal2mongo.c
/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -I. -I./ -I/usr/pgsql-18/include/server -I/usr/pgsql-18/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include -flto=thin -emit-llvm -c -o wal2mongo.bc wal2mongo.c
wal2mongo.c:809:37: error: no member named 'tuple' in 'struct HeapTupleData'
809 | &change->data.tp.newtuple->tuple,
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
wal2mongo.c:825:37: error: no member named 'tuple' in 'struct HeapTupleData'
825 | &change->data.tp.oldtuple->tuple,
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
wal2mongo.c:847:39: error: no member named 'tuple' in 'struct HeapTupleData'
847 | &change->data.tp.newtuple->tuple,
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
wal2mongo.c:858:37: error: no member named 'tuple' in 'struct HeapTupleData'
858 | &change->data.tp.newtuple->tuple,
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
wal2mongo.c:879:37: error: no member named 'tuple' in 'struct HeapTupleData'
879 | &change->data.tp.oldtuple->tuple,
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^
5 errors generated.
make[1]: *** [/usr/pgsql-18/lib/pgxs/src/makefiles/../../src/Makefile.global:1104: wal2mongo.bc] Error 1
make[1]: *** Waiting for unfinished jobs....
wal2mongo.c: In function ‘print_w2m_literal’:
wal2mongo.c:581:61: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘valptr + 1’ must not be NULL [-Waddress]
581 | if(ch == '\\' && (valptr+1) != NULL && *(valptr+1) == '"' )
| ^~
wal2mongo.c: In function ‘pg_w2m_decode_change’:
wal2mongo.c:809:98: error: ‘HeapTupleData’ has no member named ‘tuple’
809 | &change->data.tp.newtuple->tuple,
| ^~
wal2mongo.c:825:98: error: ‘HeapTupleData’ has no member named ‘tuple’
825 | &change->data.tp.oldtuple->tuple,
| ^~
wal2mongo.c:847:114: error: ‘HeapTupleData’ has no member named ‘tuple’
847 | &change->data.tp.newtuple->tuple,
| ^~
wal2mongo.c:858:98: error: ‘HeapTupleData’ has no member named ‘tuple’
858 | &change->data.tp.newtuple->tuple,
| ^~
wal2mongo.c:879:98: error: ‘HeapTupleData’ has no member named ‘tuple’
879 | &change->data.tp.oldtuple->tuple,
|
Metadata
Metadata
Assignees
Labels
No labels