Commit e615605
committed
Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."
This reverts commit b9515b6.
Buildfarm results suggest that some platforms have versions of pselect(2)
that are not merely non-atomic, but flat out non-functional. Revert the
use-pselect patch to confirm this diagnosis (and exclude the no-SA_RESTART
patch as the source of trouble). If it's so, we should probably look into
blacklisting specific platforms that have broken pselect.
Discussion: https://postgr.es/m/9696.1493072081@sss.pgh.pa.us1 parent b9515b6 commit e615605
File tree
5 files changed
+19
-54
lines changed- src
- backend/postmaster
- include
5 files changed
+19
-54
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12504 | 12504 | | |
12505 | 12505 | | |
12506 | 12506 | | |
12507 | | - | |
| 12507 | + | |
12508 | 12508 | | |
12509 | 12509 | | |
12510 | 12510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | | - | |
| 1459 | + | |
1460 | 1460 | | |
1461 | 1461 | | |
1462 | 1462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
1645 | | - | |
1646 | | - | |
1647 | 1645 | | |
1648 | 1646 | | |
1649 | 1647 | | |
| |||
1653 | 1651 | | |
1654 | 1652 | | |
1655 | 1653 | | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1656 | 1657 | | |
| 1658 | + | |
| 1659 | + | |
1657 | 1660 | | |
1658 | 1661 | | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1666 | 1668 | | |
1667 | 1669 | | |
1668 | 1670 | | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
| 1671 | + | |
| 1672 | + | |
1672 | 1673 | | |
1673 | 1674 | | |
1674 | 1675 | | |
1675 | | - | |
1676 | 1676 | | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
1685 | | - | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | | - | |
1694 | | - | |
1695 | | - | |
1696 | | - | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
1701 | | - | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
1705 | 1677 | | |
1706 | 1678 | | |
1707 | | - | |
| 1679 | + | |
1708 | 1680 | | |
1709 | 1681 | | |
1710 | | - | |
1711 | 1682 | | |
1712 | 1683 | | |
1713 | | - | |
| 1684 | + | |
1714 | 1685 | | |
1715 | 1686 | | |
1716 | 1687 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
| |||
0 commit comments