laurenz / oracle_fdw

PostgreSQL Foreign Data Wrapper for Oracle
http://laurenz.github.io/oracle_fdw/
Other
496 stars 156 forks source link

make issue #681

Closed enhjin8671 closed 5 months ago

enhjin8671 commented 5 months ago

root@ubuntu:/tmp/oracle_fdw-ORACLE_FDW_2_5_0# make install 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 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I"/usr/lib/oracle/23/client64/sdk/include" -I"/usr/lib/oracle/23/client64/oci/include" -I"/usr/lib/oracle/23/client64/rdbms/public" -I"/usr/lib/oracle/23/client64/" -I/usr/include/oracle/23/client64 -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o oracle_fdw.o oracle_fdw.c oracle_fdw.c: In function ‘oracleGetForeignRelSize’: oracle_fdw.c:782:57: error: ‘RangeTblEntry’ has no member named ‘checkAsUser’ 782 | fdwState = getFdwState(foreigntableid, NULL, rte->checkAsUser); | ^~ oracle_fdw.c: In function ‘oraclePlanForeignModify’: oracle_fdw.c:1546:61: error: ‘RangeTblEntry’ has no member named ‘checkAsUser’ 1546 | fdwState = getFdwState(rte->relid, NULL, rte->checkAsUser); | ^~ oracle_fdw.c:1585:46: error: ‘RangeTblEntry’ has no member named ‘updatedCols’ 1585 | tmpset = bms_copy(rte->updatedCols); | ^~ oracle_fdw.c:1590:39: warning: implicit declaration of function ‘bms_first_member’; did you mean ‘bms_is_member’? [-Wimplicit-function-declaration] 1590 | while ((col = bms_first_member(tmpset)) >= 0) | ^~~~ | bms_is_member oracle_fdw.c: In function ‘oracleBeginForeignInsert’: oracle_fdw.c:1867:65: error: ‘RangeTblEntry’ has no member named ‘checkAsUser’ 1867 | fdw_state = getFdwState(RelationGetRelid(rel), NULL, rte->checkAsUser); | ^~ make: *** [: oracle_fdw.o] Error 1

Postgresql version -- psql (16.3 (Ubuntu 16.3-1.pgdg22.04+1))

laurenz commented 5 months ago

This is an exact duplicate of #639. Please use a more recent oracle_fdw version.

enhjin8671 commented 5 months ago

okay thank you