forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc350b01
committed
Fix canAcceptConnections() bugs introduced by replication-related patches.
We must not return any "okay to proceed" result code without having checkedfor too many children, else we might fail later on when trying to add thenew child to one of the per-child state arrays. It's not clear whetherthis oversight explains Stefan Kaltenbrunner's recent report, but it couldcertainly produce a similar symptom.Back-patch to 8.4; the logic was not broken before that.1 parent9f65a87 commitc350b01
1 file changed
+19
-14
lines changedLines changed: 19 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
349 | 349 |
| |
350 | 350 |
| |
351 | 351 |
| |
352 |
| - | |
| 352 | + | |
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
| |||
1907 | 1907 |
| |
1908 | 1908 |
| |
1909 | 1909 |
| |
1910 |
| - | |
| 1910 | + | |
1911 | 1911 |
| |
1912 | 1912 |
| |
| 1913 | + | |
| 1914 | + | |
1913 | 1915 |
| |
1914 | 1916 |
| |
1915 | 1917 |
| |
1916 | 1918 |
| |
1917 | 1919 |
| |
1918 | 1920 |
| |
1919 | 1921 |
| |
| 1922 | + | |
| 1923 | + | |
1920 | 1924 |
| |
1921 | 1925 |
| |
1922 | 1926 |
| |
1923 | 1927 |
| |
1924 |
| - | |
1925 |
| - | |
| 1928 | + | |
| 1929 | + | |
1926 | 1930 |
| |
1927 |
| - | |
1928 |
| - | |
1929 |
| - | |
1930 |
| - | |
1931 |
| - | |
1932 |
| - | |
1933 |
| - | |
1934 |
| - | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
1935 | 1940 |
| |
1936 | 1941 |
| |
1937 | 1942 |
| |
| |||
1947 | 1952 |
| |
1948 | 1953 |
| |
1949 | 1954 |
| |
1950 |
| - | |
| 1955 | + | |
1951 | 1956 |
| |
1952 |
| - | |
| 1957 | + | |
1953 | 1958 |
| |
1954 | 1959 |
| |
1955 | 1960 |
| |
|
0 commit comments
Comments
(0)