OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f88a638
)
Use pg_strcasecmp instead of strcasecmp for portability
author
Magnus Hagander
<magnus@hagander.net>
Sun, 23 Jan 2011 16:35:02 +0000
(17:35 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 23 Jan 2011 16:35:02 +0000
(17:35 +0100)
Per buildfarm.
src/bin/pg_basebackup/pg_basebackup.c
patch
|
blob
|
history
diff --git
a/src/bin/pg_basebackup/pg_basebackup.c
b/src/bin/pg_basebackup/pg_basebackup.c
index
b90d6a1
..
86df4b8
100644
(file)
--- 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
{