支持drop extension dblink语法

This commit is contained in:
liang_-123
2021-05-19 10:02:23 +08:00
parent 1d68ba8815
commit bed513ef30

View File

@ -9448,7 +9448,7 @@ bool DropExtensionIsSupported(const char* query_string)
#ifndef ENABLE_MULTIPLE_NODES
if (strstr(lower_string, "drop") && (strstr(lower_string, "postgis") || strstr(lower_string, "packages") ||
strstr(lower_string, "mysql_fdw") || strstr(lower_string, "oracle_fdw") ||
strstr(lower_string, "postgres_fdw"))) {
strstr(lower_string, "postgres_fdw") || strstr(lower_string, "dblink"))) {
#else
if (strstr(lower_string, "drop") && (strstr(lower_string, "postgis") || strstr(lower_string, "packages"))) {
#endif