forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b7c56d
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 parent41db973 commit9b7c56d
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1231 | 1231 |
| |
1232 | 1232 |
| |
1233 | 1233 |
| |
1234 |
| - | |
1235 |
| - | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
1236 | 1240 |
| |
1237 | 1241 |
| |
1238 | 1242 |
| |
|
0 commit comments
Comments
(0)