Skip to content
Open
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
3 changes: 2 additions & 1 deletion gpcontrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ 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 \
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