- Notifications
You must be signed in to change notification settings - Fork5
Commite6ed34f
committed
Ensure generic plan gets used for a plpgsql expression with no parameters.
Now that a NULL ParamListInfo pointer causes significantly differentbehavior in plancache.c, be sure to pass it that way when the expressionis known not to reference any plpgsql variables. Saves a few setupcycles anyway.1 parent0a6cc28 commite6ed34f
1 file changed
+20
-7
lines changedLines changed: 20 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3012 | 3012 |
| |
3013 | 3013 |
| |
3014 | 3014 |
| |
3015 |
| - | |
3016 |
| - | |
3017 |
| - | |
3018 |
| - | |
3019 |
| - | |
3020 | 3015 |
| |
3021 | 3016 |
| |
3022 | 3017 |
| |
| |||
3049 | 3044 |
| |
3050 | 3045 |
| |
3051 | 3046 |
| |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
3052 | 3052 |
| |
3053 | 3053 |
| |
3054 | 3054 |
| |
| |||
5000 | 5000 |
| |
5001 | 5001 |
| |
5002 | 5002 |
| |
| 5003 | + | |
| 5004 | + | |
| 5005 | + | |
| 5006 | + | |
| 5007 | + | |
| 5008 | + | |
5003 | 5009 |
| |
5004 | 5010 |
| |
5005 | 5011 |
| |
5006 | 5012 |
| |
5007 | 5013 |
| |
5008 |
| - | |
| 5014 | + | |
5009 | 5015 |
| |
5010 | 5016 |
| |
5011 | 5017 |
| |
| |||
5048 | 5054 |
| |
5049 | 5055 |
| |
5050 | 5056 |
| |
5051 |
| - | |
| 5057 | + | |
5052 | 5058 |
| |
5053 | 5059 |
| |
5054 | 5060 |
| |
5055 | 5061 |
| |
| 5062 | + | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
5056 | 5068 |
| |
| 5069 | + | |
5057 | 5070 |
| |
5058 | 5071 |
| |
5059 | 5072 |
| |
|
0 commit comments
Comments
(0)