You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Performs HASH partitioning for`relation` by integer key`attribute`. Creates`partitions_count` partitions and trigger on INSERT. All the data will be automatically copied from the parent to partitions.
Merge two adjacent RANGE partitions. First, data from`partition2` is copied to`partition1`, then`partition2` is removed.
118
119
119
-
```
120
+
```plpgsql
120
121
append_range_partition(p_relationTEXT)
121
122
```
122
123
Append new RANGE partition.
123
124
124
-
```
125
+
```plpgsql
125
126
prepend_range_partition(p_relationTEXT)
126
127
```
127
128
Prepend new RANGE partition.
128
129
129
-
```
130
+
```plpgsql
130
131
add_range_partition(relationTEXT,
131
132
start_value ANYELEMENT,
132
133
end_value ANYELEMENT)
133
134
```
134
135
Create new RANGE partition for`relation` with specified range bounds.
135
136
136
-
```
137
+
```plpgsql
137
138
drop_range_partition(partitionTEXT)
138
139
```
139
140
Drop RANGE partition and all its data.
140
141
141
-
```
142
+
```plpgsql
142
143
attach_range_partition(relationTEXT,
143
144
partitionTEXT,
144
145
start_value ANYELEMENT,
145
146
end_value ANYELEMENT)
146
147
```
147
148
Attach partition to the existing RANGE-partitioned relation. The attached table must have exactly the same structure as the parent table, including the dropped columns.
148
149
149
-
```
150
+
```plpgsql
150
151
detach_range_partition(partitionTEXT)
151
152
```
152
153
Detach partition from the existing RANGE-partitioned relation.
153
154
154
-
```
155
+
```plpgsql
155
156
disable_partitioning(relationTEXT)
156
157
```
157
158
Permanently disable`pg_pathman` partitioning mechanism for the specified parent table and remove the insert trigger if it exists. All partitions and data remain unchanged.