- Notifications
You must be signed in to change notification settings - Fork28
Commitc3e0ddd
committed
Lock all relations referred to in updatable views
Even views considered "simple" enough to be automatically updatable mayhave mulitple relations involved (eg: in a where clause). We need tomake sure and lock those relations when rewriting the query.Back-patch to 9.3 where updatable views were added.Pointed out by Andres, patch thanks to Dean Rasheed.1 parent3ae1679 commitc3e0ddd
1 file changed
+15
-0
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2764 | 2764 |
| |
2765 | 2765 |
| |
2766 | 2766 |
| |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
2767 | 2782 |
| |
2768 | 2783 |
| |
2769 | 2784 |
| |
|
0 commit comments
Comments
(0)