- Notifications
You must be signed in to change notification settings - Fork5
Commitc82d931
committed
Fix the volatility marking of textanycat() and anytextcat(): they were marked
immutable, but that is wrong in general because the cast from the polymorphicargument to text could be stable or even volatile. Mark them volatile forsafety. In the typical case where the cast isn't volatile, the planner willdeduce the correct expression volatility after inlining the function, soperformance is not lost. The just-committed fix in CREATE INDEX also ensuresthis won't break any indexing cases that ought to be allowed.Per discussion, I'm not bumping catversion for this change, as it doesn'tseem critical enough to force an initdb on beta testers.1 parent5a86e5e commitc82d931
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
3137 | 3137 |
| |
3138 | 3138 |
| |
3139 | 3139 |
| |
3140 |
| - | |
| 3140 | + | |
3141 | 3141 |
| |
3142 |
| - | |
| 3142 | + | |
3143 | 3143 |
| |
3144 | 3144 |
| |
3145 | 3145 |
| |
|
0 commit comments
Comments
(0)