This is an automated email from the ASF dual-hosted git repository.
chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/cbdb-postgres-merge by this
push:
new 1af0b601b44 Fix some compile errors
1af0b601b44 is described below
commit 1af0b601b4460ec30f0c837a662861b6447849c4
Author: Jinbao Chen <[email protected]>
AuthorDate: Wed Oct 8 17:26:22 2025 +0800
Fix some compile errors
---
src/backend/libpq/Makefile | 4 ++--
src/backend/utils/sort/tuplestore.c | 2 +-
src/interfaces/Makefile | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/backend/libpq/Makefile b/src/backend/libpq/Makefile
index f21fd93ee65..6346554b6a5 100644
--- a/src/backend/libpq/Makefile
+++ b/src/backend/libpq/Makefile
@@ -40,7 +40,7 @@ endif
# Cloudberry objects follow
OBJS += fe-protocol3.o fe-connect.o \
- fe-exec.o pqexpbuffer.o fe-auth.o fe-misc.o fe-secure.o \
+ fe-exec.o libpq-events.o pqexpbuffer.o fe-auth.o fe-misc.o fe-secure.o
\
fe-auth-scram.o fe-trace.o \
$(filter getpeereid.o, $(LIBOBJS))
@@ -54,7 +54,7 @@ ifeq ($(with_gssapi),yes)
OBJS += fe-gssapi-common.o fe-secure-gssapi.o
endif
-fe-protocol3.c fe-connect.c fe-exec.c pqexpbuffer.c fe-auth.c fe-auth-scram.c
fe-misc.c fe-protocol2.c fe-secure.c fe-secure-openssl.c fe-secure-common.c
fe-secure-gssapi.c fe-gssapi-common.c fe-trace.c: % :
$(top_srcdir)/src/interfaces/libpq/%
+fe-protocol3.c fe-connect.c fe-exec.c libpq-events.o pqexpbuffer.c fe-auth.c
fe-auth-scram.c fe-misc.c fe-protocol2.c fe-secure.c fe-secure-openssl.c
fe-secure-common.c fe-secure-gssapi.c fe-gssapi-common.c fe-trace.c: % :
$(top_srcdir)/src/interfaces/libpq/%
rm -f $@ && $(LN_S) $< .
getpeereid.c: % : $(top_srcdir)/src/port/%
diff --git a/src/backend/utils/sort/tuplestore.c
b/src/backend/utils/sort/tuplestore.c
index bb91a720e33..ee6a1255c67 100644
--- a/src/backend/utils/sort/tuplestore.c
+++ b/src/backend/utils/sort/tuplestore.c
@@ -1716,7 +1716,7 @@ tuplestore_make_shared(Tuplestorestate *state,
SharedFileSet *fileset, const cha
oldowner = CurrentResourceOwner;
CurrentResourceOwner = state->resowner;
- state->myfile = BufFileCreateFileSet(&fileset.fs, filename,
state->work_set);
+ state->myfile = BufFileCreateFileSet(&fileset->fs, filename,
state->work_set);
CurrentResourceOwner = oldowner;
/*
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
index 10595401789..5a982aace13 100644
--- a/src/interfaces/Makefile
+++ b/src/interfaces/Makefile
@@ -12,7 +12,8 @@ subdir = src/interfaces
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-SUBDIRS = libpq ecpg gppc
+#SUBDIRS = libpq ecpg gppc
+SUBDIRS = libpq
$(recurse)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]