On 2015-07-07 14:15, Andres Freund wrote:
> I think testing whether the output fd is a regular file and not a tty
> when opening it should work across platforms:
>
> I pushed the patch and tested it locally (linux), but I'd be thankful if
> you two could test whether it works now on your respective platforms.
Fixes the issue on OS X. Thank you.
.m