Commit 6492560
committed
Revert "Use pselect(2) not select(2), if available, to wait in postmaster's loop."
This reverts commit 81069a9.
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 81069a9 commit 6492560
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 | |
|---|---|---|---|
| |||
12892 | 12892 | | |
12893 | 12893 | | |
12894 | 12894 | | |
12895 | | - | |
| 12895 | + | |
12896 | 12896 | | |
12897 | 12897 | | |
12898 | 12898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
1432 | | - | |
| 1432 | + | |
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
| 617 | + | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| |||
1670 | 1670 | | |
1671 | 1671 | | |
1672 | 1672 | | |
1673 | | - | |
1674 | | - | |
1675 | 1673 | | |
1676 | 1674 | | |
1677 | 1675 | | |
| |||
1681 | 1679 | | |
1682 | 1680 | | |
1683 | 1681 | | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1684 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
1685 | 1688 | | |
1686 | 1689 | | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | | - | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
1694 | 1696 | | |
1695 | 1697 | | |
1696 | 1698 | | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
| 1699 | + | |
| 1700 | + | |
1700 | 1701 | | |
1701 | 1702 | | |
1702 | 1703 | | |
1703 | | - | |
1704 | 1704 | | |
1705 | | - | |
1706 | | - | |
1707 | | - | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
1733 | 1705 | | |
1734 | 1706 | | |
1735 | | - | |
| 1707 | + | |
1736 | 1708 | | |
1737 | 1709 | | |
1738 | | - | |
1739 | 1710 | | |
1740 | 1711 | | |
1741 | | - | |
| 1712 | + | |
1742 | 1713 | | |
1743 | 1714 | | |
1744 | 1715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | 403 | | |
407 | 404 | | |
408 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | 270 | | |
274 | 271 | | |
275 | 272 | | |
| |||
0 commit comments