- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit14ce78e
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 parent6019247 commit14ce78e
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8431 | 8431 |
| |
8432 | 8432 |
| |
8433 | 8433 |
| |
8434 |
| - | |
8435 |
| - | |
8436 |
| - | |
8437 |
| - | |
8438 |
| - | |
8439 |
| - | |
8440 |
| - | |
| 8434 | + | |
| 8435 | + | |
| 8436 | + | |
| 8437 | + | |
8441 | 8438 |
| |
8442 |
| - | |
8443 |
| - | |
8444 |
| - | |
| 8439 | + | |
| 8440 | + | |
8445 | 8441 |
| |
8446 | 8442 |
| |
8447 | 8443 |
| |
|
0 commit comments
Comments
(0)