diff --git a/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback_catalog_maindb_92_799.sql b/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback_catalog_maindb_92_799.sql index 7794ae7d4..decbccc7e 100644 --- a/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback_catalog_maindb_92_799.sql +++ b/src/include/catalog/upgrade_sql/rollback_catalog_maindb/rollback_catalog_maindb_92_799.sql @@ -125,7 +125,7 @@ BEGIN IF ans = false then select case when count(*)=1 then true else false end as has_version_proc from (select * from pg_proc where proname = 'working_version_num' limit 1) into has_version_proc; IF has_version_proc = true then - select working_version_num < 92626 as old_version from working_version_num() into old_version; + select working_version_num < 92608 as old_version from working_version_num() into old_version; IF old_version = true then raise info 'Processing hdfs extension'; query_str := 'CREATE EXTENSION IF NOT EXISTS hdfs_fdw;'; @@ -135,4 +135,4 @@ BEGIN END IF; END LOOP; END -$do$; \ No newline at end of file +$do$; diff --git a/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_799.sql b/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_799.sql index 7794ae7d4..decbccc7e 100644 --- a/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_799.sql +++ b/src/include/catalog/upgrade_sql/rollback_catalog_otherdb/rollback_catalog_otherdb_92_799.sql @@ -125,7 +125,7 @@ BEGIN IF ans = false then select case when count(*)=1 then true else false end as has_version_proc from (select * from pg_proc where proname = 'working_version_num' limit 1) into has_version_proc; IF has_version_proc = true then - select working_version_num < 92626 as old_version from working_version_num() into old_version; + select working_version_num < 92608 as old_version from working_version_num() into old_version; IF old_version = true then raise info 'Processing hdfs extension'; query_str := 'CREATE EXTENSION IF NOT EXISTS hdfs_fdw;'; @@ -135,4 +135,4 @@ BEGIN END IF; END LOOP; END -$do$; \ No newline at end of file +$do$; diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade_catalog_maindb_92_799.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade_catalog_maindb_92_799.sql index 93294c2cc..d70c9b62a 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade_catalog_maindb_92_799.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade_catalog_maindb_92_799.sql @@ -56,4 +56,6 @@ CREATE OR REPLACE FUNCTION pg_catalog.gs_undo_dump_parsepage_mv(relpath text, bl LANGUAGE internal STABLE STRICT NOT FENCED NOT SHIPPABLE AS $function$gs_undo_dump_parsepage_mv$function$; -comment on function PG_CATALOG.gs_undo_dump_parsepage_mv(relpath text, blkno bigint, reltype text, rmem boolean) is 'parse uheap data page and undo to output file based on given filepath'; \ No newline at end of file +comment on function PG_CATALOG.gs_undo_dump_parsepage_mv(relpath text, blkno bigint, reltype text, rmem boolean) is 'parse uheap data page and undo to output file based on given filepath'; + +DROP EXTENSION IF EXISTS hdfs_fdw; diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade_catalog_otherdb_92_799.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade_catalog_otherdb_92_799.sql index 93294c2cc..d70c9b62a 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade_catalog_otherdb_92_799.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade_catalog_otherdb_92_799.sql @@ -56,4 +56,6 @@ CREATE OR REPLACE FUNCTION pg_catalog.gs_undo_dump_parsepage_mv(relpath text, bl LANGUAGE internal STABLE STRICT NOT FENCED NOT SHIPPABLE AS $function$gs_undo_dump_parsepage_mv$function$; -comment on function PG_CATALOG.gs_undo_dump_parsepage_mv(relpath text, blkno bigint, reltype text, rmem boolean) is 'parse uheap data page and undo to output file based on given filepath'; \ No newline at end of file +comment on function PG_CATALOG.gs_undo_dump_parsepage_mv(relpath text, blkno bigint, reltype text, rmem boolean) is 'parse uheap data page and undo to output file based on given filepath'; + +DROP EXTENSION IF EXISTS hdfs_fdw;