!974 支持drop extension dblink语法

Merge pull request !974 from liang/dblink
This commit is contained in:
opengauss-bot
2021-05-20 15:04:34 +08:00
committed by Gitee

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