Re: Obsolete coding in fork_process.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Obsolete coding in fork_process.c
Date
Msg-id 4013.1398971788@sss.pgh.pa.us
Whole thread Raw
In response to Re: Obsolete coding in fork_process.c  (Noah Misch <noah@leadboat.com>)
Responses Re: Obsolete coding in fork_process.c
List pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Thu, May 01, 2014 at 12:13:28PM -0400, Tom Lane wrote:
>> Is there any reason not to change this to just fflush(NULL)?  We dropped
>> support for SunOS 4.1 quite some time ago ...

> Modern systems have other fflush(NULL) problems:

> http://www.nntp.perl.org/group/perl.perl5.porters/2013/09/msg207692.html
> http://perl5.git.perl.org/metaconfig.git/blob/master:/U/perl/fflushall.U

Fun.  I doubt that the postmaster's stdin would ever be a pipe, but
maybe we'd better leave well enough alone.  Should update the comment
though.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: quiet inline configure check misses a step for clang
Next
From: Tom Lane
Date:
Subject: Re: Store data in pg_toast for custom type fails (bug?)