Re: Unsupported effective_io_concurrency platforms - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Unsupported effective_io_concurrency platforms
Date
Msg-id 1237840076.19723.100.camel@jd-laptop.pragmaticzealot.org
Whole thread Raw
In response to Unsupported effective_io_concurrency platforms  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Unsupported effective_io_concurrency platforms  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, 2009-03-23 at 16:21 -0400, Bruce Momjian wrote:
> If a platform doesn't have posix_fadvise(), we don't allow
> effective_io_concurrency to be set to anything but zero:
> 
>     test=> set  effective_io_concurrency = 1;
>     ERROR:  1 is outside the valid range for parameter "effective_io_concurrency" (0 .. 0)
>     test=> set  effective_io_concurrency = 0;
>     SET
> 
> Do we want to give a more informative error message, like "not supported
> on this platform?"

I would say so.

Joshua D. Drake


> 
> -- 
>   Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
> 
>   + If your life is a hard drive, Christ can be your backup. +
> 
-- 
PostgreSQL - XMPP: jdrake@jabber.postgresql.org  Consulting, Development, Support, Training  503-667-4564 -
http://www.commandprompt.com/ The PostgreSQL Company, serving since 1997
 



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Unsupported effective_io_concurrency platforms
Next
From: Andrew Gierth
Date:
Subject: Re: contrib function naming, and upgrade issues