Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1996df

Browse files
committed
Add 'contrib/pg_pathman/' from commit 'f52d9981bf7256e68907b9b8ed75b67129730d45'
git-subtree-dir: contrib/pg_pathmangit-subtree-mainline:0d1b0bbgit-subtree-split:f52d998
2 parents0d1b0bb +f52d998 commite1996df

35 files changed

+12641
-0
lines changed

‎contrib/pg_pathman/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.deps
2+
results/pg_pathman.out
3+
regression.diffs
4+
regression.out
5+
*.o
6+
*.so
7+
pg_pathman--*.sql

‎contrib/pg_pathman/.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
os:
2+
-linux
3+
4+
sudo:required
5+
dist:trusty
6+
7+
language:c
8+
9+
compiler:
10+
-clang
11+
-gcc
12+
13+
before_install:
14+
-sudo sh ./travis/apt.postgresql.org.sh
15+
16+
env:
17+
-PGVERSION=9.5 CHECK_CODE=true
18+
-PGVERSION=9.5 CHECK_CODE=false
19+
20+
script:bash ./travis/pg-travis-test.sh

‎contrib/pg_pathman/Makefile

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# contrib/pg_pathman/Makefile
2+
3+
MODULE_big = pg_pathman
4+
OBJS = src/init.o src/utils.o src/runtimeappend.o src/runtime_merge_append.o src/pg_pathman.o src/dsm_array.o\
5+
src/rangeset.o src/pl_funcs.o src/worker.o src/hooks.o src/nodes_common.o$(WIN32RES)
6+
7+
EXTENSION = pg_pathman
8+
EXTVERSION = 0.1
9+
DATA_built =$(EXTENSION)--$(EXTVERSION).sql
10+
PGFILEDESC = "pg_pathman - partitioning tool"
11+
12+
REGRESS = pg_pathman
13+
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add
14+
EXTRA_CLEAN =$(EXTENSION)--$(EXTVERSION).sql ./isolation_output
15+
16+
ifdefUSE_PGXS
17+
PG_CONFIG = pg_config
18+
PGXS :=$(shell$(PG_CONFIG) --pgxs)
19+
include$(PGXS)
20+
else
21+
subdir = contrib/pg_pathman
22+
top_builddir = ../..
23+
include$(top_builddir)/src/Makefile.global
24+
include$(top_srcdir)/contrib/contrib-global.mk
25+
endif
26+
27+
$(EXTENSION)--$(EXTVERSION).sql: init.sql hash.sql range.sql
28+
cat$^>$@
29+
30+
ISOLATIONCHECKS=insert_trigger rollback_on_create_partitions
31+
32+
submake-isolation:
33+
$(MAKE) -C$(top_builddir)/src/test/isolation all
34+
35+
isolationcheck: | submake-isolation
36+
$(MKDIR_P) isolation_output
37+
$(pg_isolation_regress_check)\
38+
--temp-config=$(top_srcdir)/$(subdir)/conf.add\
39+
--outputdir=./isolation_output\
40+
$(ISOLATIONCHECKS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp