forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdf38d79
committed
Adjust psql describe queries so that any pg_foo_is_visible() condition
is applied last, after other constraints such as name patterns. Thisis useful first because the pg_foo_is_visible() functions are relativelyexpensive, and second because it minimizes the prospects for raceconditions. The change is fragile though since it makes unwarrantedassumptions about planner behavior, ie, that WHERE clauses will beexecuted in the original order if there's not reason to change it.This should fix ... or at least hide ... an intermittent failure in theprepared_xacts regression test, while we think about what else to do.1 parent24ce143 commitdf38d79
1 file changed
+28
-28
lines changedLines changed: 28 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
424 |
| - | |
| 424 | + | |
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
| |||
1913 | 1913 |
| |
1914 | 1914 |
| |
1915 | 1915 |
| |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1916 | 1942 |
| |
1917 | 1943 |
| |
1918 | 1944 |
| |
| |||
1940 | 1966 |
| |
1941 | 1967 |
| |
1942 | 1968 |
| |
1943 |
| - | |
1944 |
| - | |
1945 |
| - | |
1946 |
| - | |
1947 |
| - | |
1948 |
| - | |
1949 |
| - | |
1950 |
| - | |
1951 |
| - | |
1952 |
| - | |
1953 |
| - | |
1954 |
| - | |
1955 |
| - | |
1956 |
| - | |
1957 |
| - | |
1958 |
| - | |
1959 |
| - | |
1960 |
| - | |
1961 |
| - | |
1962 |
| - | |
1963 |
| - | |
1964 |
| - | |
1965 |
| - | |
1966 |
| - | |
1967 |
| - | |
1968 |
| - | |
1969 | 1969 |
| |
1970 | 1970 |
| |
1971 | 1971 |
| |
|
0 commit comments
Comments
(0)