forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1df86aa

Amit Kapila
Fix replica identity check for a partitioned table.
The current publisher code checks if UPDATE or DELETE can be executed withthe replica identity of the table even if it's a partitioned table. We canskip checking the replica identity for partitioned tables because theoperations are actually performed on the leaf partitions (not thepartitioned table).Reported-by: Brad NicholsonAuthor: Hou ZhijieReviewed-by: Peter Smith, Amit KapilaBackpatch-through: 13Discussion:https://postgr.es/m/CAMMnM%3D8i5DohH%3DYKzV0_wYuYSYvuOJoL9F5nzXTc%2ByzsG1f6rg%40mail.gmail.com1 parentdc9ed21 commit1df86aa
File tree
3 files changed
+11
-0
lines changed- src
- backend/executor
- test/regress
- expected
- sql
3 files changed
+11
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
565 | 565 |
| |
566 | 566 |
| |
567 | 567 |
| |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
568 | 575 |
| |
569 | 576 |
| |
570 | 577 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
| 143 | + | |
| 144 | + | |
143 | 145 |
| |
144 | 146 |
| |
145 | 147 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| 88 | + | |
| 89 | + | |
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
|
0 commit comments
Comments
(0)