fix histort command

Offering: openGaussDev

More detail: fix history command

Match-id-47f0ca1ca39932e17bc82af8b09bed256c7a331c
This commit is contained in:
openGaussDev 2022-03-10 10:01:44 +08:00 committed by yanghao
parent 877fbfeb52
commit c5cb95d2ec
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ bool SensitiveStrCheck(const char* target)
if (strstr(target_copy, "PASSWORD") != NULL || strstr(target_copy, "IDENTIFIED") != NULL ||
strstr(target_copy, "GS_ENCRYPT_AES128") != NULL || strstr(target_copy, "GS_DECRYPT_AES128") != NULL ||
strstr(target_copy, "GS_ENCRYPT") != NULL || strstr(target_copy, "GS_DECRYPT") != NULL) {
strstr(target_copy, "GS_ENCRYPT") != NULL || strstr(target_copy, "GS_DECRYPT") != NULL ||
strstr(target_copy, "PG_CREATE_PHYSICAL_REPLICATION_SLOT_EXTERN") != NULL) {
free(target_copy);
return TRUE;
} else {