forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6485469
committed
Recurse to sequences on ownership change for all relkinds
When a table ownership is changed, we must apply that also to any ownedsequences. (Otherwise, it would result in a situation that cannot berestored, because linked sequences must have the same owner as thetable.) But this was previously only applied to regular tables andmaterialized views. But it should also apply to at least foreigntables. This patch removes the relkind check altogether, because itdoesn't save very much and just introduces the possibility of similaromissions.Bug: #15238Reported-by: Christoph Berg <christoph.berg@credativ.de>1 parent180feb8 commit6485469
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10446 | 10446 |
| |
10447 | 10447 |
| |
10448 | 10448 |
| |
10449 |
| - | |
10450 |
| - | |
10451 |
| - | |
10452 |
| - | |
10453 |
| - | |
10454 |
| - | |
10455 |
| - | |
| 10449 | + | |
| 10450 | + | |
| 10451 | + | |
| 10452 | + | |
10456 | 10453 |
| |
10457 |
| - | |
10458 |
| - | |
10459 |
| - | |
| 10454 | + | |
| 10455 | + | |
10460 | 10456 |
| |
10461 | 10457 |
| |
10462 | 10458 |
| |
|
0 commit comments
Comments
(0)