Re: Tighten error control for OpenTransientFile/CloseTransientFile
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Joe Conway <mail@joeconway.com>
Cc: Michael Paquier <michael@paquier.xyz>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-06T21:09:02Z
Lists: pgsql-hackers
On Fri, Mar 1, 2019 at 5:06 PM Joe Conway <mail@joeconway.com> wrote: > Seems like it would be better to modify the arguments to > CloseTransientFile() to include the filename being closed, errorlevel, > and fail_on_error or something similar. Then all the repeated ereport > stanzas could be eliminated. Hmm. I'm not sure that really saves much in terms of notation, and it's less flexible. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Tighten use of OpenTransientFile and CloseTransientFile
- 82a5649fb9db 12.0 landed
-
PANIC on fsync() failure.
- 9ccdd7f66e33 12.0 cited