Use pg_strcasecmp instead of strcasecmp for portability

Per buildfarm.
pull/1/head
Magnus Hagander 15 years ago
parent f88a638199
commit d13e0975c9
  1. 4
      src/bin/pg_basebackup/pg_basebackup.c

@ -914,9 +914,9 @@ main(int argc, char **argv)
} }
break; break;
case 'c': case 'c':
if (strcasecmp(optarg, "fast") == 0) if (pg_strcasecmp(optarg, "fast") == 0)
fastcheckpoint = true; fastcheckpoint = true;
else if (strcasecmp(optarg, "spread") == 0) else if (pg_strcasecmp(optarg, "spread") == 0)
fastcheckpoint = false; fastcheckpoint = false;
else else
{ {

Loading…
Cancel
Save