forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit77ae7f7
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 parentb2fc4d6 commit77ae7f7
1 file changed
+12
-6
lines changedLines changed: 12 additions & 6 deletions
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
Comments
(0)