Re: Tighten error control for OpenTransientFile/CloseTransientFile

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Georgios Kokolatos <gkokolatos@pm.me>, pgsql-hackers@lists.postgresql.org
Date: 2019-03-08T01:23:24Z
Lists: pgsql-hackers
On Thu, Mar 07, 2019 at 10:00:05PM -0300, Alvaro Herrera wrote:
> I think this one needs a terminating \n.

Argh...  Thanks for the lookup, Alvaro.
--
Michael

Commits

  1. Tighten use of OpenTransientFile and CloseTransientFile

  2. PANIC on fsync() failure.