legendzyb commented on issue #1975:
URL: https://github.com/apache/age/issues/1975#issuecomment-2283410788

   thanks for taking a look. @MironAtHome 
   The compilation issues have all been resolved, but many codes of the age 
plugin are not adapted for the distributed Greenplum. I am still researching 
how to modify them.
   
   Below are the results of pg_config execution:
   [gpadmin@host33 ~]$ pg_config
   BINDIR = /home/gpadmin/greenplum-db-7.0.0/bin
   DOCDIR = /home/gpadmin/greenplum-db-7.0.0/share/doc/postgresql
   HTMLDIR = /home/gpadmin/greenplum-db-7.0.0/share/doc/postgresql
   INCLUDEDIR = /home/gpadmin/greenplum-db-7.0.0/include
   PKGINCLUDEDIR = /home/gpadmin/greenplum-db-7.0.0/include/postgresql
   INCLUDEDIR-SERVER = 
/home/gpadmin/greenplum-db-7.0.0/include/postgresql/server
   LIBDIR = /home/gpadmin/greenplum-db-7.0.0/lib
   PKGLIBDIR = /home/gpadmin/greenplum-db-7.0.0/lib/postgresql
   LOCALEDIR = /home/gpadmin/greenplum-db-7.0.0/share/locale
   MANDIR = /home/gpadmin/greenplum-db-7.0.0/share/man
   SHAREDIR = /home/gpadmin/greenplum-db-7.0.0/share/postgresql
   SYSCONFDIR = /home/gpadmin/greenplum-db-7.0.0/etc/postgresql
   PGXS = 
/home/gpadmin/greenplum-db-7.0.0/lib/postgresql/pgxs/src/makefiles/pgxs.mk
   CONFIGURE = '--prefix=/root/greenplum-db-7.0.0' '--enable-gpperfmon' 
'--with-python' '--with-perl' '--with-libxml' '--with-openssl' '--enable-orca' 
'--with-blocksize=32' '--without-licensecheck' '--enable-orafce' 
'--enable-debug-extensions' 'CFLAGS=-O0 -g3 -ggdb3' 
'PKG_CONFIG_PATH=:/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig' 
'PYTHON=/usr/local/python3/bin/python3'
   CC = gcc
   CPPFLAGS = -I../../deps/root/include -D_GNU_SOURCE -I/usr/include/libxml2
   CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels 
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -Wno-unused-but-set-variable 
-Werror=implicit-fallthrough=3 -Wno-format-truncation -Wno-stringop-truncation 
-O0 -g3 -ggdb3 -std=gnu99   -Werror=uninitialized 
-Werror=implicit-function-declaration
   CFLAGS_SL = -fPIC
   LDFLAGS = -L../../deps/root/lib -Wl,--as-needed -lxerces-c 
-Wl,-rpath,'/root/greenplum-db-7.0.0/lib',--enable-new-dtags
   LDFLAGS_EX = 
   LDFLAGS_SL = 
   LIBS = -lpgcommon -lpgport -lpthread -lbz2 -lxml2 -lrt -lssl -lcrypto -lzstd 
-lz -lreadline -lrt -lcrypt -ldl -lm  -lcurl  
   VERSION = PostgreSQL 12
   
   
   I changed the statement return errmsg("%s at end of input", msg); to return 
0;. Now the compilation issue is resolved, and I made similar modifications in 
a few other places.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to