Re: [HACKERS] Bad bug in fopen() wrapper code - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Bad bug in fopen() wrapper code
Date
Msg-id 10370.1159799598@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Bad bug in fopen() wrapper code  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
>> I agree that this code is both wrong and unreadable (although in
>> practice the _setmode will probably never fail, which is why our
>> attention hasn't been drawn to it).  Is someone going to submit a
>> patch?  I'm hesitant to change the code myself since I'm not in a
>> position to test it.

> I can look at fixing that. Is it something we want to do for 8.2, or
> wait until 8.3? If there's a hidden bug, I guess 8.2?

Yeah, I think it's 8.2 material.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: [HACKERS] Bad bug in fopen() wrapper code
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Incrementally Updated Backup