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

Commit477b6d6

Browse files
committed
clean variable & parameter names
1 parent2ad0cf0 commit477b6d6

File tree

2 files changed

+152
-152
lines changed

2 files changed

+152
-152
lines changed

‎README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ Performs HASH partitioning for `relation` by integer key `attribute`. The `parti
9191
create_range_partitions(relation REGCLASS,
9292
attributeTEXT,
9393
start_value ANYELEMENT,
94-
interval ANYELEMENT,
95-
countINTEGER DEFAULTNULL
94+
p_interval ANYELEMENT,
95+
p_countINTEGER DEFAULTNULL
9696
partition_dataBOOLEAN DEFAULT TRUE)
9797

9898
create_range_partitions(relation REGCLASS,
9999
attributeTEXT,
100100
start_value ANYELEMENT,
101-
interval INTERVAL,
102-
countINTEGER DEFAULTNULL,
101+
p_interval INTERVAL,
102+
p_countINTEGER DEFAULTNULL,
103103
partition_dataBOOLEAN DEFAULT TRUE)
104104
```
105105
Performs RANGE partitioning for`relation` by partitioning key`attribute`.`start_value` argument specifies initial value,`interval` sets the range of values in a single partition,`count` is the number of premade partitions (if not set then pathman tries to determine it based on attribute values). Partition creation callback is invoked for each partition if set beforehand.
@@ -109,14 +109,14 @@ create_partitions_from_range(relation REGCLASS,
109109
attributeTEXT,
110110
start_value ANYELEMENT,
111111
end_value ANYELEMENT,
112-
interval ANYELEMENT,
112+
p_interval ANYELEMENT,
113113
partition_dataBOOLEAN DEFAULT TRUE)
114114

115115
create_partitions_from_range(relation REGCLASS,
116116
attributeTEXT,
117117
start_value ANYELEMENT,
118118
end_value ANYELEMENT,
119-
interval INTERVAL,
119+
p_interval INTERVAL,
120120
partition_dataBOOLEAN DEFAULT TRUE)
121121
```
122122
Performs RANGE-partitioning from specified range for`relation` by partitioning key`attribute`. Partition creation callback is invoked for each partition if set beforehand.
@@ -146,25 +146,25 @@ Same as above, but for a RANGE-partitioned table.
146146
###Post-creation partition management
147147
```plpgsql
148148
split_range_partition(partition REGCLASS,
149-
value ANYELEMENT,
149+
split_value ANYELEMENT,
150150
partition_nameTEXT DEFAULTNULL)
151151
```
152-
Split RANGE`partition` in two by`value`. Partition creation callback is invoked for a new partition if available.
152+
Split RANGE`partition` in two by`split_value`. Partition creation callback is invoked for a new partition if available.
153153

154154
```plpgsql
155155
merge_range_partitions(partition1 REGCLASS, partition2 REGCLASS)
156156
```
157157
Merge two adjacent RANGE partitions. First, data from`partition2` is copied to`partition1`, then`partition2` is removed.
158158

159159
```plpgsql
160-
append_range_partition(p_relation REGCLASS,
160+
append_range_partition(parent REGCLASS,
161161
partition_nameTEXT DEFAULTNULL,
162162
tablespaceTEXT DEFAULTNULL)
163163
```
164164
Append new RANGE partition with`pathman_config.range_interval` as interval.
165165

166166
```plpgsql
167-
prepend_range_partition(p_relation REGCLASS,
167+
prepend_range_partition(parent REGCLASS,
168168
partition_nameTEXT DEFAULTNULL,
169169
tablespaceTEXT DEFAULTNULL)
170170
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp