forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf3ed536
committed
Don't record FDW user mappings as members of extensions.
CreateUserMapping has a recordDependencyOnCurrentExtension call that'sbeen there since extensions were introduced (very possibly my fault).However, there's no support anywhere else for user mappings as membersof extensions, nor are they listed as a possible member object type inthe documentation. Nor does it really seem like a good idea for usermappings to belong to extensions when roles don't. Hence, remove thebogus call.(As we saw in bug #15310, the lack of any pg_dump support for this caseensures that any such membership record would silently disappear duringpg_upgrade. So there's probably no need for us to do anything elseabout cleaning up after this mistake.)Discussion:https://postgr.es/m/27952.1533667213@sss.pgh.pa.us1 parentf73a313 commitf3ed536
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1212 | 1212 |
| |
1213 | 1213 |
| |
1214 | 1214 |
| |
1215 |
| - | |
1216 |
| - | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1217 | 1221 |
| |
1218 | 1222 |
| |
1219 | 1223 |
| |
|
0 commit comments
Comments
(0)