pgsql: Don't use the result of strcmp as if it were a boolean.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't use the result of strcmp as if it were a boolean.
Date: 2009-04-23 17:39:21
Message-ID: 20090423173921.DC540754080@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't use the result of strcmp as if it were a boolean.
A service of your local coding style police.

Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.221 -> r1.222)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.221&r2=1.222)

Browse pgsql-committers by date

  From Date Subject
Next Message User Decibel 2009-04-23 21:43:19 deny-updates - trunk: Fix think-o in README
Previous Message Heikki Linnakangas 2009-04-23 10:20:27 pgsql: Mention that tables have a visibility map fork alongside the main