forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb47e2f7
committed
Fix dependency, when changing a function's argument/return type.
When a new base type is created using the old-style procedure of firstcreating the input/output functions with "opaque" in place of the basetype, the "opaque" argument/return type is changed to the final base type,on CREATE TYPE. However, we did not create a pg_depend record when doingthat, so the functions were left not depending on the type.Fixes bug #14706, reported by Karen Huddleston.Discussion:https://www.postgresql.org/message-id/20170614232259.1424.82774@wrigleys.postgresql.org1 parent99090e9 commitb47e2f7
File tree
3 files changed
+80
-0
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+80
-0
lines changedLines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1189 | 1189 |
| |
1190 | 1190 |
| |
1191 | 1191 |
| |
| 1192 | + | |
| 1193 | + | |
1192 | 1194 |
| |
1193 | 1195 |
| |
1194 | 1196 |
| |
| |||
1209 | 1211 |
| |
1210 | 1212 |
| |
1211 | 1213 |
| |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
1212 | 1228 |
| |
1213 | 1229 |
| |
1214 | 1230 |
| |
| |||
1223 | 1239 |
| |
1224 | 1240 |
| |
1225 | 1241 |
| |
| 1242 | + | |
| 1243 | + | |
1226 | 1244 |
| |
1227 | 1245 |
| |
1228 | 1246 |
| |
| |||
1244 | 1262 |
| |
1245 | 1263 |
| |
1246 | 1264 |
| |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1247 | 1279 |
| |
1248 | 1280 |
| |
1249 | 1281 |
| |
|
Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
112 | 143 |
| |
113 | 144 |
| |
114 | 145 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
112 | 129 |
| |
113 | 130 |
| |
114 | 131 |
| |
|
0 commit comments
Comments
(0)