Skip to content

Commit

Permalink
Fix pg_password_history gpcheckcat consitent check failed. (#266)
Browse files Browse the repository at this point in the history
pg_password_history exists only on master instead segment. 
So disable catalog consistent check between Master and Segment in gpcheckcat
  • Loading branch information
wenchaozhang-123 authored Oct 31, 2023
1 parent f892f60 commit 0f736c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gpMgmt/bin/gpcheckcat
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0f736c8

Please sign in to comment.