forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0320dda
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 parentd6c55de commit0320dda
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10477 | 10477 |
| |
10478 | 10478 |
| |
10479 | 10479 |
| |
10480 |
| - | |
10481 |
| - | |
10482 |
| - | |
10483 |
| - | |
10484 |
| - | |
10485 |
| - | |
10486 |
| - | |
| 10480 | + | |
| 10481 | + | |
| 10482 | + | |
| 10483 | + | |
10487 | 10484 |
| |
10488 |
| - | |
10489 |
| - | |
10490 |
| - | |
| 10485 | + | |
| 10486 | + | |
10491 | 10487 |
| |
10492 | 10488 |
| |
10493 | 10489 |
| |
|
0 commit comments
Comments
(0)