forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit45e98ee
committed
Remove obsolete prohibition on function name matching a column name.
ProcedureCreate formerly threw an error if the function to be createdhas one argument of composite type and the function name matches somecolumn of the composite type. This was a (very non-bulletproof) defenseagainst creating situations where f(x) and x.f are ambiguous. But wedon't really need such a defense in the wake of commitb97a346, whichallows us to deal with such situations fairly cleanly. This behavioralso created a dump-and-reload hazard, since a function might berejected if a conflicting column name had been added to the inputcomposite type later. Hence, let's just drop the check.Discussion:https://postgr.es/m/CAOW5sYa3Wp7KozCuzjOdw6PiOYPi6D=VvRybtH2S=2C0SVmRmA@mail.gmail.com1 parentb97a346 commit45e98ee
1 file changed
+0
-15
lines changedLines changed: 0 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
112 | 111 |
| |
113 | 112 |
| |
114 | 113 |
| |
| |||
254 | 253 |
| |
255 | 254 |
| |
256 | 255 |
| |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 | 256 |
| |
272 | 257 |
| |
273 | 258 |
| |
|
0 commit comments
Comments
(0)