- Notifications
You must be signed in to change notification settings - Fork28
Commit0011c5a
committed
pg_dump: label INDEX ATTACH ArchiveEntries with an owner.
Although a partitioned index's attachment to its parent doesn'thave separate ownership, the ArchiveEntry for it needs to bemarked with an owner anyway, to ensure that the ALTER commandis run by the appropriate role when restoring with--use-set-session-authorization. Without this, the ALTER willbe run by the role that started the restore session, which willusually work but it's formally the wrong thing.Back-patch to v11 where this type of ArchiveEntry was added.In HEAD, add equivalent commentary to the just-added TABLE ATTACHcase, which I'd made do the right thing already.Discussion:https://postgr.es/m/1094034.1610418498@sss.pgh.pa.us1 parent0725bf3 commit0011c5a
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16747 | 16747 |
| |
16748 | 16748 |
| |
16749 | 16749 |
| |
| 16750 | + | |
| 16751 | + | |
| 16752 | + | |
| 16753 | + | |
| 16754 | + | |
| 16755 | + | |
| 16756 | + | |
16750 | 16757 |
| |
16751 | 16758 |
| |
16752 | 16759 |
| |
| 16760 | + | |
16753 | 16761 |
| |
16754 | 16762 |
| |
16755 | 16763 |
| |
|
0 commit comments
Comments
(0)