Re: new compiler warnings - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: new compiler warnings
Date
Msg-id 4E9D46260200002500042162@gw.wicourts.gov
Whole thread Raw
In response to Re: new compiler warnings  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: new compiler warnings
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
> Which it seems to me we could change by doing rc = write().  Then
> if rc <= 0, we bail out.  If not, we add and subtract rc, rather
> than PIPE_MAX_PAYLOAD.
Something along the general lines of this?:
http://archives.postgresql.org/pgsql-hackers/2011-02/msg01719.php
> That would be barely more code, probably safer, and would silence
> the warning.
Exactly.
-Kevin


pgsql-hackers by date:

Previous
From: Ahmed Shinwari
Date:
Subject: Re: [BUG] SSPI authentication fails on Windows when server parameter is localhost or domain name
Next
From: "Kevin Grittner"
Date:
Subject: Re: new compiler warnings