Commit 4323142
committed
Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETACH
These flavors of ALTER TABLE were already shaped to report the
ObjectAddress of the partition attached or detached, but this data was
not added to what is collected for event triggers. The tests of
test_ddl_deparse are updated to show the modification in the data
reported.
Author: Hou Zhijie
Reviewed-by: Álvaro Herrera, Amit Kapila, Hayato Kuroda, Michael Paquier
Discussion: https://postgr.es/m/OS0PR01MB571626984BD099DADF53F38394899@OS0PR01MB5716.jpnprd01.prod.outlook.com1 parent 07ff701 commit 4323142
File tree
2 files changed
+10
-10
lines changed- src
- backend/commands
- test/modules/test_ddl_deparse/expected
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5202 | 5202 | | |
5203 | 5203 | | |
5204 | 5204 | | |
5205 | | - | |
5206 | | - | |
| 5205 | + | |
| 5206 | + | |
5207 | 5207 | | |
5208 | | - | |
5209 | | - | |
| 5208 | + | |
| 5209 | + | |
5210 | 5210 | | |
5211 | 5211 | | |
5212 | 5212 | | |
5213 | 5213 | | |
5214 | 5214 | | |
5215 | 5215 | | |
5216 | 5216 | | |
5217 | | - | |
5218 | | - | |
5219 | | - | |
| 5217 | + | |
| 5218 | + | |
| 5219 | + | |
5220 | 5220 | | |
5221 | 5221 | | |
5222 | | - | |
| 5222 | + | |
5223 | 5223 | | |
5224 | 5224 | | |
5225 | 5225 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments