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

Commit13fc562

Browse files
committed
Merge branch 'rel_future_beta' ofhttps://github.com/postgrespro/pg_pathman into rel_future_beta
2 parents639a0f1 +9c4dd49 commit13fc562

File tree

61 files changed

+6541
-1997
lines changed

Some content is hidden

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

61 files changed

+6541
-1997
lines changed

‎.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@ compiler:
1111
-gcc
1212

1313
before_install:
14-
-sudo sh ./travis/apt.postgresql.org.sh
14+
-if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -y install -qq wget ca-certificates; fi
15+
-if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source ./travis/dep-ubuntu-postgres.sh; fi
16+
-if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source ./travis/dep-ubuntu-llvm.sh; fi
17+
-if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
1518

1619
env:
17-
-PGVERSION=9.6 CHECK_CODE=true
18-
-PGVERSION=9.6 CHECK_CODE=false
19-
-PGVERSION=9.5 CHECK_CODE=true
20-
-PGVERSION=9.5 CHECK_CODE=false
20+
global:
21+
-LLVM_VER=4.0
22+
matrix:
23+
-PG_VER=10 CHECK_CODE=true
24+
-PG_VER=10 CHECK_CODE=false
25+
-PG_VER=9.6 CHECK_CODE=true
26+
-PG_VER=9.6 CHECK_CODE=false
27+
-PG_VER=9.5 CHECK_CODE=true
28+
-PG_VER=9.5 CHECK_CODE=false
2129

2230
script:bash ./travis/pg-travis-test.sh
2331

‎Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ OBJS = src/init.o src/relation_info.o src/utils.o src/partition_filter.o \
1010
src/compat/pg_compat.o src/compat/relation_tags.o src/compat/expand_rte_hook.o\
1111
src/compat/rowmarks_fix.o$(WIN32RES)
1212

13-
PG_CPPFLAGS = -I$(CURDIR)/src/include
13+
overridePG_CPPFLAGS+= -I$(CURDIR)/src/include
1414

1515
EXTENSION = pg_pathman
1616

@@ -24,7 +24,8 @@ DATA = pg_pathman--1.0--1.1.sql \
2424

2525
PGFILEDESC = "pg_pathman - partitioning tool for PostgreSQL"
2626

27-
REGRESS = pathman_basic\
27+
REGRESS = pathman_array_qual\
28+
pathman_basic\
2829
pathman_bgw\
2930
pathman_calamity\
3031
pathman_callbacks\
@@ -39,11 +40,12 @@ REGRESS = pathman_basic \
3940
pathman_lateral\
4041
pathman_mergejoin\
4142
pathman_only\
43+
pathman_param_upd_del\
4244
pathman_permissions\
45+
pathman_rebuild_updates\
4346
pathman_rowmarks\
4447
pathman_runtime_nodes\
4548
pathman_update_trigger\
46-
pathman_updates\
4749
pathman_utility_stmt
4850

4951
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add

‎README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,6 @@ create_range_partitions(relation REGCLASS,
122122
```
123123
Performs RANGE partitioning for`relation` by partitioning key`attribute`,`start_value` argument specifies initial value,`p_interval` sets the default range for auto created partitions or partitions created with`append_range_partition()` or`prepend_range_partition()` (if`NULL` then auto partition creation feature won't work),`p_count` is the number of premade partitions (if not set then`pg_pathman` tries to determine it based on attribute values). Partition creation callback is invoked for each partition if set beforehand.
124124

125-
```plpgsql
126-
create_partitions_from_range(relation REGCLASS,
127-
attributeTEXT,
128-
start_value ANYELEMENT,
129-
end_value ANYELEMENT,
130-
p_interval ANYELEMENT,
131-
partition_dataBOOLEAN DEFAULT TRUE)
132-
133-
create_partitions_from_range(relation REGCLASS,
134-
attributeTEXT,
135-
start_value ANYELEMENT,
136-
end_value ANYELEMENT,
137-
p_interval INTERVAL,
138-
partition_dataBOOLEAN DEFAULT TRUE)
139-
```
140-
Performs RANGE-partitioning from specified range for`relation` by partitioning key`attribute`. Partition creation callback is invoked for each partition if set beforehand.
141125

142126
###Data migration
143127

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp