Re: effective_cache_size vs units

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: effective_cache_size vs units
Дата
Msg-id 20061219083642.GB9627@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: effective_cache_size vs units  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: effective_cache_size vs units  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Mon, Dec 18, 2006 at 08:56:22PM -0800, Joshua D. Drake wrote:
> On Mon, 2006-12-18 at 23:46 -0500, Tom Lane wrote:
> > Magnus Hagander <magnus@hagander.net> writes:
> > > Oh, you mean MB vs Mb. Man, it had to be that simple :)
> > 
> > ISTM we had discussed whether guc.c should accept units strings in
> > a case-insensitive manner, and the forces of pedantry won the first
> > round.  Shall we reopen that argument?
> 
> I don't think that anyone is going to think, oh I am using 1000 Mega Bit
> of ram. Mb == MB in this case. That being said, it is documented and I
> don't know that it makes that much difference as long as the
> documentation is clear.

Is it possible to add an error hint to the message? Along the line of
"HINT: Did you perhaps get your casing wrong" (with better wording, of
course).

//Magnus


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pg_restore fails with a custom backup file
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Dirty pages in freelist cause WAL stuck