From c5cb95d2ec8ca311142dc3facd2b69202ed020de Mon Sep 17 00:00:00 2001 From: openGaussDev Date: Thu, 10 Mar 2022 10:01:44 +0800 Subject: [PATCH] fix histort command Offering: openGaussDev More detail: fix history command Match-id-47f0ca1ca39932e17bc82af8b09bed256c7a331c --- src/bin/psql/input.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/psql/input.cpp b/src/bin/psql/input.cpp index 8ed2f1d56..1a9365f62 100644 --- a/src/bin/psql/input.cpp +++ b/src/bin/psql/input.cpp @@ -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 {