forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6000e32
committed
I've not changed any malloc/calloc to palloc. It looks to me that these memory
areas are for the lifetime of the backend and in the interests of not breakingsomething that's not broken I left alone.Note for anyone reading this and wanting it for tsearch-v2-stable (i.e. for 7.3backend) this patch probably will not apply cleanly to that source. It shouldbe simple enough to see what's going on and apply the changes by hand if needbe.--Nigel J. Andrews1 parent4b4c43b commit6000e32
3 files changed
+38
-9
lines changedLines changed: 33 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 |
| |
10 | 14 |
| |
11 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 |
| |
13 |
| - | |
| 20 | + | |
14 | 21 |
| |
15 | 22 |
| |
16 | 23 |
| |
17 | 24 |
| |
18 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
19 | 33 |
| |
20 |
| - | |
| 34 | + | |
| 35 | + | |
21 | 36 |
| |
22 | 37 |
| |
23 |
| - | |
| 38 | + | |
24 | 39 |
| |
25 | 40 |
| |
26 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
27 | 45 |
| |
28 | 46 |
| |
29 |
| - | |
| 47 | + | |
30 | 48 |
| |
31 | 49 |
| |
32 |
| - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
33 | 54 |
| |
34 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
35 | 59 |
| |
36 | 60 |
| |
37 | 61 |
| |
38 | 62 |
| |
39 | 63 |
| |
40 | 64 |
| |
41 |
| - | |
| 65 | + | |
42 | 66 |
| |
43 | 67 |
| |
44 | 68 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
|
0 commit comments
Comments
(0)