Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ with_libcurl
with_rt
PROTOC
with_gp_stats_collector
with_diskquota
with_zstd
with_libbz2
LZ4_LIBS
Expand Down Expand Up @@ -944,6 +945,7 @@ with_zlib
with_lz4
with_libbz2
with_zstd
with_diskquota
with_gp_stats_collector
with_rt
with_libcurl
Expand Down Expand Up @@ -1694,6 +1696,7 @@ Optional Packages:
--with-lz4 build with LZ4 support
--without-libbz2 do not use bzip2
--without-zstd do not build with Zstandard
--with-diskquota build with diskquota extension
--with-gp_stats_collector
build with stats collector extension
--without-rt do not use Realtime Library
Expand Down Expand Up @@ -11062,6 +11065,35 @@ fi
$as_echo "$with_zstd" >&6; }


#
# diskquota
#



# Check whether --with-diskquota was given.
if test "${with_diskquota+set}" = set; then :
withval=$with_diskquota;
case $withval in
yes)
:
;;
no)
:
;;
*)
as_fn_error $? "no argument expected for --with-diskquota option" "$LINENO" 5
;;
esac

else
with_diskquota=no

fi




#
# gp_stats_collector
#
Expand Down
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,13 @@ PGAC_ARG_BOOL(with, zstd, yes, [do not build with Zstandard],
AC_MSG_RESULT([$with_zstd])
AC_SUBST(with_zstd)

#
# diskquota
#
PGAC_ARG_BOOL(with, diskquota, no,
[build with diskquota extension])
AC_SUBST(with_diskquota)

#
# gp_stats_collector
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ execute_cmd ./configure --prefix=${BUILD_DESTINATION} \
--disable-pxf \
--enable-tap-tests \
${CONFIGURE_DEBUG_OPTS} \
--with-diskquota \
--with-gp-stats-collector \
--with-gssapi \
--with-ldap \
Expand Down
12 changes: 7 additions & 5 deletions gpcontrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ ifeq "$(enable_debug_extensions)" "yes"
gp_legacy_string_agg \
gp_replica_check \
gp_toolkit \
pg_hint_plan \
diskquota
pg_hint_plan
else
recurse_targets = gp_sparse_vector \
gp_distribution_policy \
gp_internal_tools \
gp_legacy_string_agg \
gp_exttable_fdw \
gp_toolkit \
pg_hint_plan \
diskquota
pg_hint_plan
endif

ifeq "$(with_diskquota)" "yes"
recurse_targets += diskquota
endif

ifeq "$(with_gp_stats_collector)" "yes"
Expand Down Expand Up @@ -102,4 +104,4 @@ installcheck:
$(MAKE) -C gp_sparse_vector installcheck
$(MAKE) -C gp_toolkit installcheck
$(MAKE) -C gp_exttable_fdw installcheck
$(MAKE) -C diskquota installcheck
if [ "$(with_diskquota)" = "yes" ]; then $(MAKE) -C diskquota installcheck; fi
1 change: 1 addition & 0 deletions src/Makefile.global.in
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ with_zstd = @with_zstd@
ZSTD_CFLAGS = @ZSTD_CFLAGS@
ZSTD_LIBS = @ZSTD_LIBS@
EVENT_LIBS = @EVENT_LIBS@
with_diskquota = @with_diskquota@
with_gp_stats_collector = @with_gp_stats_collector@

##########################################################################
Expand Down
Loading