| 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-09-25 21:07:23 |
| Message-ID: | 20140925210723.GF16581@awork2.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2014-09-26 02:34:06 +0530, Abhijit Menon-Sen wrote:
> At 2014-09-25 22:41:18 +0200, andres(at)2ndquadrant(dot)com wrote:
> > Unless I miss something this isn't sufficient. We need to fsync the
> > files in the data directory, not just the toplevel directory?
>
> No, of course you're right. So a separate function that does the moral
> equivalent of "find $PGDATA -exec fsync_fname …"?
Probably will require some care to deal correctly with tablespaces.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2014-09-25 21:13:21 | Re: INSERT ... ON CONFLICT {UPDATE | IGNORE} |
| Previous Message | Simon Riggs | 2014-09-25 21:04:18 | Re: Immediate standby promotion |