From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Does PostgreSQL use atomic file creation of FS?
Date: Wed, 12 Dec 2018 13:37:34 +0100
Message-ID: <20181212123733.GA29783@hermes.hilbert.loc> (raw)
In-Reply-To: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com>
References: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Karsten.Hilbert@gmx.net
Subject: Re: Does PostgreSQL use atomic file creation of FS?
In-Reply-To: <20181212123733.GA29783@hermes.hilbert.loc>
References: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com> <20181212123733.GA29783@hermes.hilbert.loc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox