forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbdf11d6
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 parente513a3d commitbdf11d6
1 file changed
+6
-10
lines changedLines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9222 | 9222 |
| |
9223 | 9223 |
| |
9224 | 9224 |
| |
9225 |
| - | |
9226 |
| - | |
9227 |
| - | |
9228 |
| - | |
9229 |
| - | |
9230 |
| - | |
9231 |
| - | |
| 9225 | + | |
| 9226 | + | |
| 9227 | + | |
| 9228 | + | |
9232 | 9229 |
| |
9233 |
| - | |
9234 |
| - | |
9235 |
| - | |
| 9230 | + | |
| 9231 | + | |
9236 | 9232 |
| |
9237 | 9233 |
| |
9238 | 9234 |
| |
|
0 commit comments
Comments
(0)