函数CreateWeakPasswordDictionary内部判断rel代码有误

This commit is contained in:
lilong
2023-07-27 10:38:22 +08:00
parent 5a97c1f473
commit d633e5c2a7

View File

@ -31270,12 +31270,6 @@ void CreateWeakPasswordDictionary(CreateWeakPasswordDictionaryStmt* stmt)
}
rel = heap_open(GsGlobalConfigRelationId, RowExclusiveLock);
if (!OidIsValid(rel)) {
ereport(ERROR,
(errcode(ERRCODE_SYSTEM_ERROR),
errmsg("could not open gs_global_config")));
return;
}
foreach (pwd_obj, stmt->weak_password_string_list) {
Datum values[Natts_gs_global_config] = {0};