diff --git a/src/common/backend/utils/misc/guc/guc_sql.cpp b/src/common/backend/utils/misc/guc/guc_sql.cpp index ad4adcc82..1638943a3 100755 --- a/src/common/backend/utils/misc/guc/guc_sql.cpp +++ b/src/common/backend/utils/misc/guc/guc_sql.cpp @@ -3781,9 +3781,8 @@ static void assign_convert_string_to_digit(bool newval, void* extra) static bool check_enable_ignore_case_in_dquotes(bool* newval, void** extra, GucSource source) { if (*newval && (currentGucContext == PGC_SUSET || currentGucContext == PGC_USERSET)) { - ereport(WARNING, (errmsg("if tables with the same name but different case already\n" - "exists in the database, this will result in only being able to\n" - "manipulate tables with table names that are entirely lowercase."))); + ereport(WARNING, (errmsg("Please avoid turn on this param when already created\n" + "uppercase named objects or using double quotes in PL."))); } return true; } diff --git a/src/test/regress/expected/ignore_double_quotes.out b/src/test/regress/expected/ignore_double_quotes.out index 99413db23..655b94499 100644 --- a/src/test/regress/expected/ignore_double_quotes.out +++ b/src/test/regress/expected/ignore_double_quotes.out @@ -172,9 +172,8 @@ CREATE SEQUENCE s1 START 101 CACHE 20; CREATE SEQUENCE "S1" START 801 CACHE 90; drop sequence "S1"; set enable_ignore_case_in_dquotes=on; -WARNING: if tables with the same name but different case already -exists in the database, this will result in only being able to -manipulate tables with table names that are entirely lowercase. +WARNING: Please avoid turn on this param when already created +uppercase named objects or using double quotes in PL. CREATE SEQUENCE "SEQ11" START 101 CACHE 20; SELECT nextval('"SEQ11"'); nextval @@ -275,9 +274,8 @@ LINE 1: select regprocedure('"BB"(integer, "Comp")'); CONTEXT: referenced column: regprocedure -- test enable_ignore_case_in_dquotes=on set enable_ignore_case_in_dquotes=on; -WARNING: if tables with the same name but different case already -exists in the database, this will result in only being able to -manipulate tables with table names that are entirely lowercase. +WARNING: Please avoid turn on this param when already created +uppercase named objects or using double quotes in PL. drop function "BB"; drop TYPE "cOMP"; create table test1 ("A" int, 'a' int);-- error