Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions gpcontrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ ifeq "$(enable_debug_extensions)" "yes"
gp_legacy_string_agg \
gp_replica_check \
gp_toolkit \
pg_hint_plan
pg_hint_plan \
reject_partition_fullscan
else
recurse_targets = gp_sparse_vector \
gp_distribution_policy \
gp_internal_tools \
gp_legacy_string_agg \
gp_exttable_fdw \
gp_toolkit \
pg_hint_plan
pg_hint_plan \
reject_partition_fullscan
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's set only enable_debug_extensions=yes, enable reject_partition_fullscan extension

endif

ifeq "$(with_diskquota)" "yes"
Expand Down
18 changes: 18 additions & 0 deletions gpcontrib/reject_partition_fullscan/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
MODULE_big = reject_partition_fullscan
OBJS = reject_partition_fullscan.o

EXTENSION = reject_partition_fullscan
DATA = reject_partition_fullscan--1.0.sql

REGRESS = partition_fullscan_reject

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = gpcontrib/reject_partition_fullscan
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* gpcontrib/reject_partition_fullscan/reject_partition_fullscan--1.0.sql */

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION reject_partition_fullscan" to load this file. \quit

-- Extension is loaded via shared_preload_libraries or LOAD command.
-- No SQL objects needed; the planner hook and GUCs are registered
-- automatically in _PG_init().
Loading