Re: Patch for units in postgresql.conf

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Patch for units in postgresql.conf
Дата
Msg-id 20060725131249.GB18074@surnet.cl
обсуждение исходный текст
Ответ на Patch for units in postgresql.conf  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
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.

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch for units in postgresql.conf
Следующее
От: "Sergey E. Koposov"
Дата:
Сообщение: Re: patch implementing the multi-argument aggregates (SOC