forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3b00a94
committed
Support TRUNCATE triggers on foreign tables.
Now some foreign data wrappers support TRUNCATE command.So it's useful to support TRUNCATE triggers on foreign tables foraudit logging or for preventing undesired truncation.Author: Yugo NagataReviewed-by: Fujii Masao, Ian Lawrence BarwickDiscussion:https://postgr.es/m/20220630193848.5b02e0d6076b86617a915682@sraoss.co.jp1 parent14168d3 commit3b00a94
File tree
4 files changed
+11
-14
lines changed- contrib/postgres_fdw
- expected
- sql
- doc/src/sgml/ref
- src/backend/commands
4 files changed
+11
-14
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6732 | 6732 |
| |
6733 | 6733 |
| |
6734 | 6734 |
| |
6735 |
| - | |
| 6735 | + | |
6736 | 6736 |
| |
6737 |
| - | |
| 6737 | + | |
6738 | 6738 |
| |
6739 | 6739 |
| |
6740 | 6740 |
| |
| |||
6821 | 6821 |
| |
6822 | 6822 |
| |
6823 | 6823 |
| |
| 6824 | + | |
| 6825 | + | |
| 6826 | + | |
6824 | 6827 |
| |
6825 | 6828 |
| |
6826 | 6829 |
| |
| |||
7087 | 7090 |
| |
7088 | 7091 |
| |
7089 | 7092 |
| |
7090 |
| - | |
| 7093 | + | |
7091 | 7094 |
| |
7092 | 7095 |
| |
7093 | 7096 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1595 | 1595 |
| |
1596 | 1596 |
| |
1597 | 1597 |
| |
1598 |
| - | |
| 1598 | + | |
1599 | 1599 |
| |
1600 |
| - | |
| 1600 | + | |
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
| |||
1652 | 1652 |
| |
1653 | 1653 |
| |
1654 | 1654 |
| |
| 1655 | + | |
1655 | 1656 |
| |
1656 | 1657 |
| |
1657 | 1658 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
134 |
| - | |
| 134 | + | |
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
| 145 | + | |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 | 298 |
| |
306 | 299 |
| |
307 | 300 |
| |
|
0 commit comments
Comments
(0)