On 2014-10-27 16:09:30 +0530, Abhijit Menon-Sen wrote:
> At 2014-09-25 22:41:18 +0200, andres@2ndquadrant.com wrote:
> >
> > On 2014-09-24 17:06:05 +0530, Abhijit Menon-Sen wrote:
> > >
> > > 1. Move the call to ResetUnloggedRelations(UNLOGGED_RELATION_INIT) to
> > > earlier in StartupXLOG.
> > >
> > > 2. Inside that function, issue fsync()s for the main forks we create by
> > > copying the _init fork.
> >
> > These two imo should definitely be backpatched.
>
> I've attached updated versions of these two patches. The only changes
> are to revise the comments as you suggested.
Committed and backpatched (to 9.1) these. That required also
backpatching the move of fsync_fname() to fd.c/h to 9.1-9.3.
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services