forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd4545dc
committed
Complain if a function-in-FROM returns a set when it shouldn't.
Throw a "function protocol violation" error if a function in FROMtries to return a set though it wasn't marked proretset. Althoughsuch cases work at the moment, it doesn't seem like something wewant to guarantee will keep working. Besides, there are othernegative consequences of not setting the proretset flag, such aspotentially bad plans.No back-patch, since if there is any third-party code violatingthis expectation, people wouldn't appreciate us breaking it ina minor release.Discussion:https://postgr.es/m/1636062.1615141782@sss.pgh.pa.us1 parentfed10d4 commitd4545dc
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
356 | 366 |
| |
357 | 367 |
| |
358 | 368 |
| |
359 | 369 |
| |
360 |
| - | |
| 370 | + | |
361 | 371 |
| |
362 | 372 |
| |
363 | 373 |
| |
|
0 commit comments
Comments
(0)