Re: [PATCH] Cleanup of GUC units code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Cleanup of GUC units code
Дата
Msg-id 15304.1220886165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Cleanup of GUC units code  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: [PATCH] Cleanup of GUC units code
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> It's good as a joke, but what if the user says '1024b'?  Does it mean
>> 1024 blocks or one kilobyte?  If blocks, what size are we talking, the
>> usual 512 bytes, or our BLCKSZ?

> For what guc would you find a unit of posix-style "blocks" relevant?!

The point isn't whether it's relevant, the point is that there's a
fairly serious doubt as to what the user thought it meant.
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: [PATCH] Cleanup of GUC units code
Следующее
От: Markus Wanner
Дата:
Сообщение: Re: Synchronous Log Shipping Replication