Commit cbdca00
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 failed
to include one. This could cause failures in parallel restore due to
emitting ALTER TABLE ... ENABLE ROW LEVEL SECURITY before restoring
the table's data. In practice the odds of a problem seem low, since
you 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 this
happening. 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 parent 9b39b79 commit cbdca00
1 file changed
+9
-4
lines changed| 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