suchindra@linuxlabs.com wrote:
>
> Hi,
>
> I am Suchindra Katageri and am working as a Software Engineer at
> Linuxlabs, Atlanta, GA.
>
> I am presently working on developing libraries to make postgresql
> run on a cluster. I was wondering if it was possible to force Database
> writes to stable storage, without messing up with the postgres code.
> e.g. force the PostgreSQL to write to stable storage after an INSERT
> command.
For stable storage, you mean disk storage? You need fsync for that,
probably, but we already fsync our write-ahead log (WAL) on every
commit.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073