Re: Does PostgreSQL use atomic file creation of FS? - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Does PostgreSQL use atomic file creation of FS?
Date
Msg-id 20181212123733.GA29783@hermes.hilbert.loc
Whole thread Raw
In response to Does PostgreSQL use atomic file creation of FS?  (Dmitry Lazurkin <dilaz03@gmail.com>)
Responses Re: Does PostgreSQL use atomic file creation of FS?
List pgsql-general
On Wed, Dec 12, 2018 at 02:48:12PM +0300, Dmitry Lazurkin wrote:

> Does PostgreSQL use atomic file creation on FS? How does PostgreSQL
> catch situation when system crashes between open call and write call? I
> am interesting in this because I would like use PostgreSQL on network
> file system.

I doubt we can get more certainty than this:

    https://www.postgresql.org/docs/devel/creating-cluster.html#CREATING-CLUSTER-NFS

Best,
Karsten
-- 
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B


pgsql-general by date:

Previous
From: Dmitry Lazurkin
Date:
Subject: Does PostgreSQL use atomic file creation of FS?
Next
From: Moreno Andreo
Date:
Subject: Re: Debian : No echo after pg_dump | psql