forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcbdca00
committed
Fix missing dependency for pg_dump's ENABLE ROW LEVEL SECURITY items.
The archive should show a dependency on the item's table, but it failedto include one. This could cause failures in parallel restore due toemitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoringthe table's data. In practice the odds of a problem seem low, sinceyou would typically need to have set FORCE ROW LEVEL SECURITY as well,and you'd also need a very high --jobs count to have any chance of thishappening. That probably explains the lack of field reports.Still, it's a bug, so back-patch to 9.5 where RLS was introduced.Discussion:https://postgr.es/m/19784.1535390902@sss.pgh.pa.us1 parent9b39b79 commitcbdca00
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3480 | 3480 |
| |
3481 | 3481 |
| |
3482 | 3482 |
| |
3483 |
| - | |
3484 |
| - | |
| 3483 | + | |
| 3484 | + | |
3485 | 3485 |
| |
3486 | 3486 |
| |
3487 | 3487 |
| |
| |||
3622 | 3622 |
| |
3623 | 3623 |
| |
3624 | 3624 |
| |
3625 |
| - | |
| 3625 | + | |
3626 | 3626 |
| |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
| 3631 | + | |
3627 | 3632 |
| |
3628 | 3633 |
| |
3629 | 3634 |
| |
| |||
3632 | 3637 |
| |
3633 | 3638 |
| |
3634 | 3639 |
| |
3635 |
| - | |
| 3640 | + | |
3636 | 3641 |
| |
3637 | 3642 |
| |
3638 | 3643 |
| |
|
0 commit comments
Comments
(0)