From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations() |
Date: | 2014-11-15 00:38:57 |
Message-ID: | 20141115003857.GB27042@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2014-10-27 16:09:30 +0530, Abhijit Menon-Sen wrote:
> At 2014-09-25 22:41:18 +0200, andres(at)2ndquadrant(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2014-11-15 00:51:26 | Re: Re: Segmentation fault in pg_dumpall from master down to 9.1 and other bug introduced by RLS |
Previous Message | Andres Freund | 2014-11-15 00:37:33 | Re: initdb -S and tablespaces |