Skip to content

Commit 1fec034

Browse files
Peter SmithCommitfest Bot
authored andcommitted
VCI module - main
1 parent 1647cae commit 1fec034

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+42344
-1
lines changed

contrib/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ SUBDIRS = \
5151
tsm_system_rows \
5252
tsm_system_time \
5353
unaccent \
54-
vacuumlo
54+
vacuumlo \
55+
vci
5556

5657
ifeq ($(with_ssl),openssl)
5758
SUBDIRS += pgcrypto sslinfo

contrib/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ subdir('tsm_system_time')
7070
subdir('unaccent')
7171
subdir('uuid-ossp')
7272
subdir('vacuumlo')
73+
subdir('vci')
7374
subdir('xml2')

contrib/vci/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Generated subdirectories
2+
/log/
3+
/results/
4+
/tmp_check/

contrib/vci/Makefile

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# contrib/vci/Makefile
2+
3+
MODULE_big = vci
4+
5+
OBJS = \
6+
vci_main.o \
7+
vci_read_guc.o \
8+
vci_shmem.o \
9+
vci_supported_funcs.o \
10+
vci_supported_types.o
11+
SUBDIRS = \
12+
executor \
13+
storage \
14+
utils
15+
16+
OBJS += \
17+
$(patsubst $(top_srcdir)/contrib/vci/%.c,%.o,$(foreach dir,$(SUBDIRS), $(sort $(wildcard $(top_srcdir)/contrib/vci/$(dir)/*.c))))
18+
19+
EXTENSION = vci
20+
DATA = vci--1.0.sql
21+
22+
PG_CPPFLAGS = -I $(top_srcdir)/contrib/vci/include
23+
24+
REGRESS = vci bugs
25+
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/vci/vci.conf
26+
27+
# Disabled because these tests require "shared_preload_libraries=vci",
28+
# which typical installcheck users do not have (e.g. buildfarm clients).
29+
NO_INSTALLCHECK = 1
30+
31+
ifdef USE_PGXS
32+
PG_CONFIG = pg_config
33+
PGXS := $(shell $(PG_CONFIG) --pgxs)
34+
include $(PGXS)
35+
else
36+
subdir = contrib/vci
37+
top_builddir = ../..
38+
include $(top_builddir)/src/Makefile.global
39+
include $(top_srcdir)/contrib/contrib-global.mk
40+
endif

contrib/vci/README

Lines changed: 976 additions & 0 deletions
Large diffs are not rendered by default.

contrib/vci/executor/Makefile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# contrib/vci/executor/Makefile
2+
3+
SUBOBJS = \
4+
vci_agg.o \
5+
vci_aggmergetranstype.o \
6+
vci_aggref.o \
7+
vci_executor.o \
8+
vci_fetch_column_store.o \
9+
vci_gather.o \
10+
vci_param.o \
11+
vci_plan.o \
12+
vci_planner.o \
13+
vci_planner_preanalyze.o \
14+
vci_plan_func.o \
15+
vci_scan.o \
16+
vci_sort.o \
17+
vci_vector_executor.o
18+
19+
EXTRA_CLEAN = SUBSYS.o $(SUBOBJS)
20+
21+
PG_CPPFLAGS = -I$(top_srcdir)/contrib/vci/include
22+
23+
ifdef USE_PGXS
24+
PGXS := $(shell pg_config --pgxs)
25+
include $(PGXS)
26+
else
27+
subdir = contrib/vci/executor
28+
top_builddir = ../../..
29+
include $(top_builddir)/src/Makefile.global
30+
include $(top_srcdir)/contrib/contrib-global.mk
31+
endif
32+
33+
override CFLAGS += $(CFLAGS_SL)

contrib/vci/executor/meson.build

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2025, PostgreSQL Global Development Group
2+
3+
vci_executor_sources = files(
4+
'vci_agg.c',
5+
'vci_aggmergetranstype.c',
6+
'vci_aggref.c',
7+
'vci_executor.c',
8+
'vci_fetch_column_store.c',
9+
'vci_gather.c',
10+
'vci_param.c',
11+
'vci_plan.c',
12+
'vci_planner.c',
13+
'vci_planner_preanalyze.c',
14+
'vci_plan_func.c',
15+
'vci_scan.c',
16+
'vci_sort.c',
17+
'vci_vector_executor.c',
18+
)

0 commit comments

Comments
 (0)