Commit 77ae7f7
committed
Plug memory leak in range_cmp function.
B-tree operators are not allowed to leak memory into the current memory
context. Range_cmp leaked detoasted copies of the arguments. That caused
a quick out-of-memory error when creating an index on a range column.
Reported by Marian Krucina, bug #8468.1 parent b2fc4d6 commit 77ae7f7
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
1129 | 1129 | | |
1130 | | - | |
| 1130 | + | |
1131 | 1131 | | |
1132 | | - | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1133 | 1139 | | |
1134 | | - | |
1135 | | - | |
| 1140 | + | |
| 1141 | + | |
1136 | 1142 | | |
1137 | | - | |
| 1143 | + | |
1138 | 1144 | | |
1139 | 1145 | | |
1140 | 1146 | | |
| |||
0 commit comments