Peter Eisentraut wrote:
> + if ((flags & (GUC_UNIT_KB|GUC_UNIT_BLOCKS)) && endptr != value)
> + {
> + bool used = false;
> +
> + while (*endptr == ' ')
> + endptr++;
> +
> + if (strcmp(endptr, "kB") == 0)
> + {
> + val *= KILOBYTE;
> + used = true;
> + endptr += 2;
> + }
Does this mean that one must match the "kB" exactly, with the specified
upper and lower case?
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.