- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitd03f331
committed
Ensure locks are acquired on RLS-added relations
During fireRIRrules(), get_row_security_policies can add tosecurityQuals and withCheckOptions. Make sure to lock any relationsadded at that point and before firing RIR rules on those expressions.Back-patch to 9.5 where RLS was added.1 parentaed688e commitd03f331
1 file changed
+19
-0
lines changedLines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1787 | 1787 |
| |
1788 | 1788 |
| |
1789 | 1789 |
| |
| 1790 | + | |
| 1791 | + | |
1790 | 1792 |
| |
1791 | 1793 |
| |
1792 | 1794 |
| |
| |||
1799 | 1801 |
| |
1800 | 1802 |
| |
1801 | 1803 |
| |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
1802 | 1821 |
| |
1803 | 1822 |
| |
1804 | 1823 |
| |
|
0 commit comments
Comments
(0)