Re: Potential data loss of 2PC files - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Potential data loss of 2PC files
Date
Msg-id 8c059d57-2763-289a-b9a9-c2d0d1277eb7@sigaev.ru
Whole thread Raw
In response to Re: Potential data loss of 2PC files  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
>> Thank you. One more question: what about symlinks? If DBA moves, for
>> example, pg_xact to another dist and leaves the symlink in data directoty.
>> Suppose, fsync on symlink will do nothing actually.
>
> I did not think of this case, but is that really common? There is even
I saw a lot such cases.

> If something should be done in this area, that would be surely in
> fsync_fname directly to centralize all the calls, and I would think of
> that as a separate patch, and a separate discussion.
Agree

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: crashes due to setting max_parallel_workers=0
Next
From: Tom Lane
Date:
Subject: Re: crashes due to setting max_parallel_workers=0