aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-08-05 12:06:29 -0400
committerRobert Haas <rhaas@postgresql.org>2011-08-05 12:06:29 -0400
commitb43bf617fdb3ecde709892c3bd8997ac41410f2f (patch)
treefe0269bc692a3511249a22cbb1d956f1e31c1c25 /src/backend/parser/parse_utilcmd.c
parent4262e61d6424a38150f125b612fd900267718148 (diff)
downloadpostgresql-b43bf617fdb3ecde709892c3bd8997ac41410f2f.tar.gz
postgresql-b43bf617fdb3ecde709892c3bd8997ac41410f2f.zip
Tweak PQresStatus() to avoid a clang compiler warning.
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.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions