pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Lazurkin <dilaz03@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Does PostgreSQL use atomic file creation of FS?
Date: Wed, 12 Dec 2018 14:48:12 +0300
Message-ID: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com> (raw)

Hello.

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.

Thank you.






view thread (5+ messages)  latest in thread

Message-ID: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com>
Permalink:  ../f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com/
Also on:    postgresql.org/message-id/f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com

 · 

reply

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: dilaz03@gmail.com
  Subject: Re: Does PostgreSQL use atomic file creation of FS?
  In-Reply-To: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com>
  References: <f4703403-9c8e-6a21-a7cc-0e7137bdccdf@gmail.com>

* 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