Re: read() returns ERANGE in Mac OS X - Mailing list pgsql-hackers

From Robert Haas
Subject Re: read() returns ERANGE in Mac OS X
Date
Msg-id CA+Tgmoa74ieK=aEQ_x33cHrBj_2G7WfwAHzWiBciA2VSqSdibQ@mail.gmail.com
Whole thread Raw
In response to Re: read() returns ERANGE in Mac OS X  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: read() returns ERANGE in Mac OS X
List pgsql-hackers
On Sun, May 20, 2012 at 2:12 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
>> Yeah, an enum would be nicer than an additional GUC. I kinda keep forgetting
>> that we have those. Though to bikeshed, the GUC should probably be just called
>> 'zero_pages' and take the values 'never', 'missing', 'unreadable' ;-)
>
> Sounds reasonable to me ..

It seems like it would be nicer to have a setting that somehow makes
the system disregard errors and soldier on rather than actively
destroying your data.  Not that I have an exact design in mind, but
zero_damaged_pages is a really fast way to destroy your data.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: release note item
Next
From: Tom Lane
Date:
Subject: Re: External Open Standards