postgres.git / summary / log / commit / refs
commit d13e0975c9812dea583486e1d2efd3bc3e638df5
Author: Magnus Hagander <magnus@hagander.net>
Date: Sun Jan 23 16:35:02 2011 +0000
First released in: 9.1.0
Use pg_strcasecmp instead of strcasecmp for portability
Per buildfarm.
src/bin/pg_basebackup/pg_basebackup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index b90d6a1a386..86df4b820d7 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -914,9 +914,9 @@ main(int argc, char **argv)
}
break;
case 'c':
- if (strcasecmp(optarg, "fast") == 0)
+ if (pg_strcasecmp(optarg, "fast") == 0)
fastcheckpoint = true;
- else if (strcasecmp(optarg, "spread") == 0)
+ else if (pg_strcasecmp(optarg, "spread") == 0)
fastcheckpoint = false;
else
{
[parent: f88a638199d8]