forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc427de4
committed
Fix another portability bug in recent pgbench commit.
Commit547f04e produced errors on AIX/xlc while building plpython. Thenew code appears to be incompatible with the hack installed by commita11cf43. Without access to an AIX system to check, my guess is that_POSIX_C_SOURCE may be required for <time.h> to declare the things theheader needs to see, but plpython.h undefines it.For now, to unbreak build farm animal hoverfly, just move the newpg_time_usec_t support into pgbench.c. Perhaps later we could figureout what to rearrange to put it back into a header for wider use.Discussion:https://postgr.es/m/CA%2BhUKG%2BP%2BjcD%3Dx9%2BagyTdWtjpOT64MYiGic%2Bcbu_TD8CV%3D6A3w%40mail.gmail.com1 parent68b34b2 commitc427de4
2 files changed
+25
-28
lines changedLines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
323 | 330 |
| |
324 | 331 |
| |
325 | 332 |
| |
| |||
658 | 665 |
| |
659 | 666 |
| |
660 | 667 |
| |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
661 | 686 |
| |
662 | 687 |
| |
663 | 688 |
| |
|
Lines changed: 0 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 | 256 |
|
0 commit comments
Comments
(0)