Re: Is pg_control file crashsafe? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Is pg_control file crashsafe?
Date
Msg-id 15782.1462484964@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is pg_control file crashsafe?  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> One thing we could do without much worry of being less reliable would be to
> keep two copies of pg_control. Write one, fsync, then write to the other
> and fsync that one.

Hmm, interesting thought.  Without knowing more about the filesystem
problem that the OP had, it's hard to tell whether this would have saved
us; but in principle it sounds like it would be more reliable.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Naming of new tsvector functions
Next
From: Stas Kelvich
Date:
Subject: Re: Naming of new tsvector functions