Re: effective_cache_size vs units

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: effective_cache_size vs units
Date: 2006-12-19 08:36:42
Message-ID: 20061219083642.GB9627@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2006-12-19 08:51:01 Re: Enums patch v2
Previous Message Dave Page 2006-12-19 08:24:39 Re: pg_restore fails with a custom backup file