forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite5e5a32
committed
Briefly,
* configure + Makefile changes * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparentcygwin bug under cygwin/EXEC_BACKEND case only) * PATH env var separator differences * missing win32 rand functions added * placeholder replacements for sync etc under port.hTo those who are really interested, and there are a few of you: the attachedpatch + file will allow the source base to be compiled (and, for somedefinition, "run") under MingW, with the following caveats (I wanted tofirst properly fix all but the last of these, but y'all won't quit askingfor a patch :-): * child death: SIGCHLD not yet sent, so as a minimum, you'll need toput in some sort of delay after StartupDatabase, and handle settingStartupPID to 0 etc (ie. the stuff the reaper() signal function is supposedto do) * dirmod.c: comment out the elog calls * dfmgr.c: some hackage required to substitute_libpath_macro * slru/xact.c: comment out the errno checking after the readdir(fixed by next version of MingW)Again, this is only if you *really* want to see postgres compile and start,and is a nice leg-up for working on the other Win32 TODO list items. Justdon't expect too much else from it at this point...Claudio Natoli1 parent10bb17e commite5e5a32
File tree
13 files changed
+204
-27
lines changed- src
- backend
- main
- port
- win32
- utils/init
- bin/initdb
- include
- interfaces/libpq
- port
13 files changed
+204
-27
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2502 | 2502 |
| |
2503 | 2503 |
| |
2504 | 2504 |
| |
2505 |
| - | |
| 2505 | + | |
2506 | 2506 |
| |
2507 | 2507 |
| |
2508 | 2508 |
| |
| |||
12079 | 12079 |
| |
12080 | 12080 |
| |
12081 | 12081 |
| |
| 12082 | + | |
12082 | 12083 |
| |
12083 | 12084 |
| |
12084 | 12085 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
349 | 354 |
| |
350 | 355 |
| |
351 | 356 |
| |
|
Lines changed: 41 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
39 |
| - | |
| 40 | + | |
| 41 | + | |
40 | 42 |
| |
| 43 | + | |
41 | 44 |
| |
42 | 45 |
| |
43 | 46 |
| |
| |||
53 | 56 |
| |
54 | 57 |
| |
55 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
56 | 77 |
| |
57 | 78 |
| |
58 | 79 |
| |
| |||
130 | 151 |
| |
131 | 152 |
| |
132 | 153 |
| |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
133 | 159 |
| |
134 | 160 |
| |
135 | 161 |
| |
| |||
157 | 183 |
| |
158 | 184 |
| |
159 | 185 |
| |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
160 | 191 |
| |
161 | 192 |
| |
162 | 193 |
| |
| |||
173 | 204 |
| |
174 | 205 |
| |
175 | 206 |
| |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
176 | 212 |
| |
177 | 213 |
| |
178 | 214 |
| |
| |||
189 | 225 |
| |
190 | 226 |
| |
191 | 227 |
| |
| 228 | + | |
| 229 | + | |
| 230 | + | |
192 | 231 |
| |
193 | 232 |
| |
194 | 233 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
230 |
| - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
231 | 235 |
| |
232 | 236 |
| |
233 | 237 |
| |
|
Lines changed: 33 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
143 | 147 |
| |
| 148 | + | |
144 | 149 |
| |
145 | 150 |
| |
146 | 151 |
| |
| |||
244 | 249 |
| |
245 | 250 |
| |
246 | 251 |
| |
247 |
| - | |
248 |
| - | |
249 |
| - | |
| 252 | + | |
250 | 253 |
| |
251 |
| - | |
| 254 | + | |
252 | 255 |
| |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
253 | 264 |
| |
254 | 265 |
| |
255 |
| - | |
256 |
| - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
257 | 272 |
| |
258 | 273 |
| |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
259 | 278 |
| |
260 | 279 |
| |
261 | 280 |
| |
| |||
354 | 373 |
| |
355 | 374 |
| |
356 | 375 |
| |
357 |
| - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
358 | 382 |
| |
359 | 383 |
| |
360 | 384 |
| |
361 | 385 |
| |
362 | 386 |
| |
| 387 | + | |
363 | 388 |
| |
364 | 389 |
| |
365 | 390 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
208 |
| - | |
| 208 | + | |
209 | 209 |
| |
210 |
| - | |
| 210 | + | |
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
|
Lines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 | 147 |
| |
153 | 148 |
| |
154 | 149 |
| |
|
Lines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 |
| |
48 | 52 |
| |
49 | 53 |
| |
| |||
122 | 126 |
| |
123 | 127 |
| |
124 | 128 |
| |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + |
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 |
| |
37 | 40 |
| |
38 | 41 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
| 27 | + | |
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
|
0 commit comments
Comments
(0)