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
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,13 +165,9 @@ Stops a background worker performing a concurrent partitioning task. Note: worke
165
165
166
166
### Triggers
167
167
```plpgsql
168
-
create_hash_update_trigger(parent REGCLASS)
168
+
create_update_triggers(parent REGCLASS)
169
169
```
170
-
Creates the trigger on UPDATE for HASH partitions. The UPDATE trigger isn't created by default because of the overhead. It's useful in cases when the partitioning expression's value might change.
171
-
```plpgsql
172
-
create_range_update_trigger(parent REGCLASS)
173
-
```
174
-
Same as above, but for a RANGE-partitioned table.
170
+
Creates a for-each-row trigger to enable cross-partition UPDATE on a table partitioned by HASH/RANGE. The trigger is not created automatically because of the overhead caused by its function. You don't have to use this feature unless partitioning key might change during an UPDATE.
0 commit comments