From ab7d81aa6e187a3d6498834f89aa06eb958e0409 Mon Sep 17 00:00:00 2001 From: zhangwenchao <656540940@qq.com> Date: Mon, 30 Oct 2023 16:54:43 +0800 Subject: [PATCH] Fix pg_password_history gpcheckcat consitent check failed. --- gpMgmt/bin/gpcheckcat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gpMgmt/bin/gpcheckcat b/gpMgmt/bin/gpcheckcat index 4eb5a04152f..b1e43728f14 100755 --- a/gpMgmt/bin/gpcheckcat +++ b/gpMgmt/bin/gpcheckcat @@ -1575,6 +1575,10 @@ def checkTableInconsistentEntry(cat): columns.remove("rolpasswordexpire") castcols.remove("rolpasswordexpire") + if catname == "pg_password_history": + columns.remove("passhistpasswordsetat") + castcols.remove("passhistpasswordsetat") + if cat.tableHasConsistentOids(): qry = inconsistentEntryQuery(GV.max_content, catname, ['oid'], columns, castcols) else: