- Notifications
You must be signed in to change notification settings - Fork5
Commit097fe19
committed
Move memory context callback declarations into palloc.h.
Initial experience with this feature suggests that instances ofMemoryContextCallback are likely to propagate into some widely-used headersover time. As things stood, that would result in pulling memutils.h orat least memnodes.h into common headers, which does not seem desirable.Instead, let's decide that this feature is part of the "ordinary pallocuser" API rather than the "specialized context management" API, and assuch should be declared in palloc.h not memutils.h.1 parente059e02 commit097fe19
3 files changed
+20
-18
lines changedLines changed: 0 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 | 19 |
| |
36 | 20 |
| |
37 | 21 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
101 |
| - | |
102 | 100 |
| |
103 | 101 |
| |
104 | 102 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
38 | 54 |
| |
39 | 55 |
| |
40 | 56 |
| |
| |||
107 | 123 |
| |
108 | 124 |
| |
109 | 125 |
| |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
110 | 130 |
| |
111 | 131 |
| |
112 | 132 |
| |
|
0 commit comments
Comments
(0)