From cbf1293ffdf23628288966b045d987008b22298a Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Tue, 13 Mar 2007 09:11:05 +0000
Subject: [PATCH] Properly use pg_strcasecmp() instead of strcasecmp().
 Un-breaks win32 build.

---
 src/backend/utils/misc/guc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 48ac8705b1f..b311ce7daec 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -10,7 +10,7 @@
  * Written by Peter Eisentraut <peter_e@gmx.net>.
  *
  * IDENTIFICATION
- *	  $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.380 2007/03/12 22:09:28 petere Exp $
+ *	  $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.381 2007/03/13 09:11:05 mha Exp $
  *
  *--------------------------------------------------------------------
  */
@@ -2639,7 +2639,7 @@ guc_get_index(const char *name)
 	int i;
 
 	for (i = 0; i < num_guc_variables; i++)
-		if (strcasecmp(name, guc_variables[i]->name) == 0)
+		if (pg_strcasecmp(name, guc_variables[i]->name) == 0)
 			return i;
 
 	return -1;
-- 
GitLab