Question about linux filesystem and psql - Mailing list pgsql-general

From Marcus Wegner
Subject Question about linux filesystem and psql
Date
Msg-id 200407232018.51303.wegner3000@hotmail.com
Whole thread Raw
Responses Re: Question about linux filesystem and psql  (Doug McNaught <doug@mcnaught.org>)
List pgsql-general
Is it possible to keep data safe with linux and psql after crash?

The short description of the scenario is:
-> writing data with psql (using transactions), store process completed
-> user hits the reset button or kernel crashes (whatever left the filesystem
unsynced)
-> filesystem is xfs or reiserfs
-> reboot causes some blocks filled with zero (journalling feature discussed
on lkml) of last accessed files from some applications

My questions are:
Is there any solution that psql keeps the database intact (already written
data)?
Is there an option for psql or filesystem (like reiserfs data=ordered) which
should be used  (maybe backup database)

Thanks

Marcus

pgsql-general by date:

Previous
From: Steve
Date:
Subject: please please please PLEASE help!
Next
From: "Kevin Macdonald"
Date:
Subject: Table access method not behaving like Oracle (index vs sequential scan). Examples and stats provided.