Re: [PATCH] Cleanup of GUC units code
От | Korry Douglas |
---|---|
Тема | Re: [PATCH] Cleanup of GUC units code |
Дата | |
Msg-id | 752780DC-9ACA-4B93-9CCD-F53C90342377@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: [PATCH] Cleanup of GUC units code (Andrew Sullivan <ajs@commandprompt.com>) |
Список | pgsql-hackers |
>> Settings in postgresql.conf are currently case-insensitive. Except >> for the units. > > And, of course, filenames when you are using a case-sensitive > filesystem. Because these are things that are defined by some > convention other than the ones the PGDG made up. Since units fall > into that category, it seems to me that we're stuck with using > external conventions. Just a thought... since there are very few (if any) places where a user would specify a variable in terms of bits (kilobits, megabits, gigabits), we could make the units case-insensitive and assume that kb, gb, and mb (and all case variants) refer to some number of bytes. If a user wants to specify a variable in terms of bits, he would have to spell out the units completely, as in "4 gigabits", "20 kilobits", or "16 megabits". -- Korry
В списке pgsql-hackers по дате отправления: