Skip to content
Snippets Groups Projects
Commit 728ceba9 authored by Tom Lane's avatar Tom Lane
Browse files

Avoid leaking FDs after an fsync failure.

Fixes errors introduced in commit bc34223b, as detected by Coverity.

In passing, report ENOSPC for a short write while padding a new wal file in
open_walfile, make certain that close_walfile closes walfile in all cases,
and improve a couple of comments.

Michael Paquier and Tom Lane
parent 3b90e38c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment