pgpool2.git / summary / log / commit / refs
commit dee58db023295fcfae5eb3b12f2ff42f9146f58f
Author: Muhammad Usama <m.usama@highgo.ca>
Commit: Muhammad Usama <m.usama@gmail.com>
Date: Tue Sep 29 18:30:10 2020 +0000
Fixing for an issue in dml object level load balance support
The comparison of objects should be done case insensitive
src/context/pool_query_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/context/pool_query_context.c b/src/context/pool_query_context.c
index d82923e0c..71f04af15 100644
--- a/src/context/pool_query_context.c
+++ b/src/context/pool_query_context.c
@@ -2109,7 +2109,7 @@ is_in_list(char *name, List *list)
foreach (cell, list)
{
char *cell_name = (char *)lfirst(cell);
- if (strcmp(name, cell_name) == 0)
+ if (strcasecmp(name, cell_name) == 0)
{
ereport(DEBUG1,
(errmsg("[%s] is in list", name)));
[parent: 7f3e97158208]