• Robert Haas's avatar
    Tweak PQresStatus() to avoid a clang compiler warning. · b43bf617
    Robert Haas authored
    The previous test for status < 0 test is in fact testing nothing if the
    compiler considers an enum to be an unsigned data type.  clang doesn't
    like tautologies, so do this instead.
    
    Report by Peter Geoghegan, fix as suggested by Tom Lane.
    b43bf617
fe-exec.c 82.9 KB