forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit814c8a0
committed
Further fixes for per-tablespace options patch.
Add missing varlena header to TableSpaceOpts structure. And, perTom Lane, instead of calling tablespace_reloptions in CacheMemoryContext,call it in the caller's memory context and copy the value overafterwards, to reduce the chances of a session-lifetime memory leak.1 parentc7f0891 commit814c8a0
File tree
2 files changed
+6
-7
lines changed- src
- backend/utils/cache
- include/commands
2 files changed
+6
-7
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 |
| - | |
146 | 145 |
| |
147 | 146 |
| |
148 | 147 |
| |
| |||
152 | 151 |
| |
153 | 152 |
| |
154 | 153 |
| |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
159 | 157 |
| |
160 | 158 |
| |
161 | 159 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| 37 | + | |
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
|
0 commit comments
Comments
(0)