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.
119
119
120
-
```
120
+
```plpgsql
121
121
append_range_partition(p_relationTEXT)
122
122
```
123
123
Append new RANGE partition.
124
124
125
-
```
125
+
```plpgsql
126
126
prepend_range_partition(p_relationTEXT)
127
127
```
128
128
Prepend new RANGE partition.
129
129
130
-
```
130
+
```plpgsql
131
131
add_range_partition(relationTEXT,
132
132
start_value ANYELEMENT,
133
133
end_value ANYELEMENT)
134
134
```
135
135
Create new RANGE partition for`relation` with specified range bounds.
136
136
137
-
```
137
+
```plpgsql
138
138
drop_range_partition(partitionTEXT)
139
139
```
140
140
Drop RANGE partition and all its data.
141
141
142
-
```
142
+
```plpgsql
143
143
attach_range_partition(relationTEXT,
144
144
partitionTEXT,
145
145
start_value ANYELEMENT,
146
146
end_value ANYELEMENT)
147
147
```
148
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.
149
149
150
-
```
150
+
```plpgsql
151
151
detach_range_partition(partitionTEXT)
152
152
```
153
153
Detach partition from the existing RANGE-partitioned relation.
154
154
155
-
```
155
+
```plpgsql
156
156
disable_partitioning(relationTEXT)
157
157
```
158
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.