From 7e8f87435a6c6da452ef6f955fbe88809e5228f6 Mon Sep 17 00:00:00 2001 From: xuxinxin Date: Fri, 8 Sep 2023 16:20:27 +0800 Subject: [PATCH] =?UTF-8?q?3.0.5=E5=8D=87=E7=BA=A75.1.0=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9ss=5Ftxnstatus=5Fcache=5Fstat?= =?UTF-8?q?=E4=B8=BA8889?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/backend/catalog/builtin_funcs.ini | 2 +- .../upgrade-post_catalog_maindb_92_906.sql | 2 +- .../upgrade-post_catalog_otherdb_92_906.sql | 2 +- src/test/regress/expected/opr_sanity.out | 2 +- src/test/regress/expected/single_node_opr_sanity.out | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/backend/catalog/builtin_funcs.ini b/src/common/backend/catalog/builtin_funcs.ini index 77c2dc72f..13e1f3084 100755 --- a/src/common/backend/catalog/builtin_funcs.ini +++ b/src/common/backend/catalog/builtin_funcs.ini @@ -10989,7 +10989,7 @@ AddFuncGroup( ), AddFuncGroup( "ss_txnstatus_cache_stat", 1, - AddBuiltinFunc(_0(8888), _1("ss_txnstatus_cache_stat"), _2(0), _3(true), _4(true), _5(ss_txnstatus_cache_stat), _6(2249), _7(PG_CATALOG_NAMESPACE), _8(BOOTSTRAP_SUPERUSERID), _9(INTERNALlanguageId), _10(1), _11(1000), _12(0), _13(0), _14(false), _15(false), _16(false), _17(false), _18('v'), _19(0), _20(0), _21(8, 20, 20, 20, 701, 701, 701, 20, 701), _22(8, 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o'), _23(8, "vcache_gets", "hcache_gets", "nio_gets", "avg_hcache_gettime_us", "avg_nio_gettime_us", "cache_hit_rate", "hcache_eviction", "avg_eviction_refcnt"), _24(NULL), _25("ss_txnstatus_cache_stat"), _26(NULL), _27(NULL), _28(NULL), _29(0), _30(false), _31(NULL), _32(false), _33(NULL), _34('f'), _35(NULL), _36(0), _37(false), _38(NULL), _39(NULL), _40(0)) + AddBuiltinFunc(_0(8889), _1("ss_txnstatus_cache_stat"), _2(0), _3(true), _4(true), _5(ss_txnstatus_cache_stat), _6(2249), _7(PG_CATALOG_NAMESPACE), _8(BOOTSTRAP_SUPERUSERID), _9(INTERNALlanguageId), _10(1), _11(1000), _12(0), _13(0), _14(false), _15(false), _16(false), _17(false), _18('v'), _19(0), _20(0), _21(8, 20, 20, 20, 701, 701, 701, 20, 701), _22(8, 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o'), _23(8, "vcache_gets", "hcache_gets", "nio_gets", "avg_hcache_gettime_us", "avg_nio_gettime_us", "cache_hit_rate", "hcache_eviction", "avg_eviction_refcnt"), _24(NULL), _25("ss_txnstatus_cache_stat"), _26(NULL), _27(NULL), _28(NULL), _29(0), _30(false), _31(NULL), _32(false), _33(NULL), _34('f'), _35(NULL), _36(0), _37(false), _38(NULL), _39(NULL), _40(0)) ), AddFuncGroup( "start_collect_workload", 1, diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_906.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_906.sql index 74f6fce90..71943ca07 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_906.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_92_906.sql @@ -12,7 +12,7 @@ BEGIN END$$; DROP FUNCTION IF EXISTS pg_catalog.ss_txnstatus_cache_stat() CASCADE; -SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 8888; +SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 8889; CREATE FUNCTION pg_catalog.ss_txnstatus_cache_stat( OUT vcache_gets bigint, OUT hcache_gets bigint, diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_906.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_906.sql index 74f6fce90..71943ca07 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_906.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_92_906.sql @@ -12,7 +12,7 @@ BEGIN END$$; DROP FUNCTION IF EXISTS pg_catalog.ss_txnstatus_cache_stat() CASCADE; -SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 8888; +SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 8889; CREATE FUNCTION pg_catalog.ss_txnstatus_cache_stat( OUT vcache_gets bigint, OUT hcache_gets bigint, diff --git a/src/test/regress/expected/opr_sanity.out b/src/test/regress/expected/opr_sanity.out index bacd40ff8..7bd88ada1 100644 --- a/src/test/regress/expected/opr_sanity.out +++ b/src/test/regress/expected/opr_sanity.out @@ -2719,7 +2719,7 @@ WHERE d.classoid IS NULL AND p1.oid <= 9999 order by 1; 7777 | sysdate 7998 | set_working_grand_version_num_manually 8050 | datalength - 8888 | ss_txnstatus_cache_stat + 8889 | ss_txnstatus_cache_stat 9004 | smalldatetime_in 9006 | smalldatetime_out 9007 | smalldatetime_recv diff --git a/src/test/regress/expected/single_node_opr_sanity.out b/src/test/regress/expected/single_node_opr_sanity.out index 443d9c477..e8bfd2666 100755 --- a/src/test/regress/expected/single_node_opr_sanity.out +++ b/src/test/regress/expected/single_node_opr_sanity.out @@ -1552,7 +1552,7 @@ WHERE d.classoid IS NULL AND p1.oid <= 9999 order by 1; 8703 | array_except 8704 | array_except_distinct 8852 | pg_event_trigger_ddl_commands - 8888 | ss_txnstatus_cache_stat + 8889 | ss_txnstatus_cache_stat 9004 | smalldatetime_in 9006 | smalldatetime_out 9007 | smalldatetime_recv