Re: effective_cache_size vs units

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: effective_cache_size vs units
Дата
Msg-id 14040.1166573774@sss.pgh.pa.us
обсуждение
Ответ на Re: effective_cache_size vs units  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: effective_cache_size vs units
Re: effective_cache_size vs units
Re: effective_cache_size vs units
Re: effective_cache_size vs units
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Perhaps it would be more effective to clarify the error message?  Right 
> now it just says something to the effect of "invalid integer".  I'd 
> imagine "invalid memory unit: TB" would be less confusing.

+1 on that, but I think we should just accept the strings
case-insensitively, too.  SQL in general is not case sensitive for
keywords, and neither is anything else in the postgresql.conf file,
so I argue it's inconsistent to be strict about the case for units.

Nor do I believe that we'd ever accept a future patch that made
the distinction between "kb" and "kB" significant --- if you think
people are confused now, just imagine what would happen then.
        regards, tom lane


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