diff --git a/.github/workflows/scripts/gtest_filter_negative b/.github/workflows/scripts/gtest_filter_negative index 744558eb00..b20aa7fa5a 100644 --- a/.github/workflows/scripts/gtest_filter_negative +++ b/.github/workflows/scripts/gtest_filter_negative @@ -14,7 +14,6 @@ # limitations under the License. export GTEST_FILTER_NEGATIVE=\ -TestErrorTable.TestErrorTableAll:\ TestCommonLib.TestHdfsConfig:\ TestExtOrc.TestNormalPath:\ TestExtOrc.BoolTypeTest:\ diff --git a/src/backend/access/external/url.c b/src/backend/access/external/url.c index 7aadc95401..e4bbddf62a 100644 --- a/src/backend/access/external/url.c +++ b/src/backend/access/external/url.c @@ -361,13 +361,13 @@ fill_buffer(URL_FILE *file, int want) e, curl_easy_strerror(e)); } - if (maxfd <= 0) + if (maxfd == -1) { - curl->still_running = 0; - break; + /* fall through to curl_multi_perform directly */ + pg_usleep(100); + nfds = 1; } - - if (-1 == (nfds = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout))) + else if (-1 == (nfds = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout))) { if (errno == EINTR || errno == EAGAIN) continue; diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 4dbfcb2ac7..6650841620 100755 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -4707,7 +4707,7 @@ CreateExternalStmt: CREATE OptWritable EXTERNAL OptWeb OptTemp TABLE qualified_n OptWritable: WRITABLE { $$ = TRUE; } | READABLE { $$ = FALSE; } - | /*EMPTY*/ { $$ = TRUE; } + | /*EMPTY*/ { $$ = FALSE; } ; OptWeb: WEB { $$ = TRUE; }