forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdb7e953
committed
Plug memory leak in range_cmp function.
B-tree operators are not allowed to leak memory into the current memorycontext. Range_cmp leaked detoasted copies of the arguments. That causeda quick out-of-memory error when creating an index on a range column.Reported by Marian Krucina, bug #8468.1 parent769c36a commitdb7e953
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | | - | |
| 1123 | + | |
1124 | 1124 | | |
1125 | | - | |
| 1125 | + | |
1126 | 1126 | | |
1127 | | - | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
1128 | 1134 | | |
1129 | | - | |
1130 | | - | |
| 1135 | + | |
| 1136 | + | |
1131 | 1137 | | |
1132 | | - | |
| 1138 | + | |
1133 | 1139 | | |
1134 | 1140 | | |
1135 | 1141 | | |
| |||
0 commit comments
Comments
(0)