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

From Alvaro Herrera
Subject Re: [PATCH] Cleanup of GUC units code
Date
Msg-id 20080908141756.GC4411@alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] Cleanup of GUC units code  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-hackers
Greg Sabino Mullane wrote:

> Tom Lane wrote:

> > 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?

alvherre=# set work_mem = '1g';
ERROR:  invalid value for parameter "work_mem": "1g"
HINT:  Valid units for this parameter are "kB", "MB", and "GB".


-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: [PATCH] Cleanup of GUC units code
Next
From: Gregory Stark
Date:
Subject: Re: [PATCH] Cleanup of GUC units code