From: | Michael Clark <codingninja(at)gmail(dot)com> |
---|---|
To: | Greg Smith <greg(at)2ndquadrant(dot)com> |
Cc: | Florian Weimer <fweimer(at)bfk(dot)de>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Possible causes for database corruption and solutions |
Date: | 2009-12-16 18:06:13 |
Message-ID: | bf5d83510912161006u393facd4wa773271b76cad80c@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Dec 16, 2009 at 11:25 AM, Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
> Florian Weimer wrote:
>
>> I hope that Mac OS X turns off write caches on low battery.
>>
>>
>
> I've never heard of such a thing. The best you can do is try to push the
> system into hibernation instead of going down hard. That *should* clear any
> disk caches as part of the graceful shutdown. But you're relying on a
> relatively fragile system now, once the battery is quite low who knows if
> that will even execute in the window of time you have left.
>
>
And at this point it is not unreasonable to expect the user to perform some
sort of action. Shutdown before the power completely dies, or plug in the
power.
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Hart | 2009-12-16 19:05:40 | make check fails on OS X 10.6.2 |
Previous Message | Mihamina Rakotomandimby | 2009-12-16 18:04:45 | Re: Counts and percentages and such |