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;
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
{

Loading…
Cancel
Save