Re: [PATCH] Cleanup of GUC units code - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: [PATCH] Cleanup of GUC units code
Date
Msg-id 87iqt64srk.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: [PATCH] Cleanup of GUC units code  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: [PATCH] Cleanup of GUC units code  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.com> writes:

> Tom Lane wrote:
>> My vote is to reject the patch and work on a config checker.
>
> +1
>
>> postgres=# set work_mem = '1g';
>> ERROR: invalid value for parameter "work_mem": "1g"
>
> Perhaps this would be a great place for a HINT listing all
> valid inputs, if not there already?

It is, I paraphrased it on my original message as:

HINT:  It's perfectly clear what you want but I'm going to refuse to do      it until you type it exactly as I say:
"GB"


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Cleanup of GUC units code
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] Cleanup of GUC units code