Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEkzZ-0003T3-HH for pgsql-committers@arkaria.postgresql.org; Fri, 12 Apr 2019 01:28:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEkzX-0002dh-LM for pgsql-committers@arkaria.postgresql.org; Fri, 12 Apr 2019 01:28:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEkzX-0002aF-DL for pgsql-committers@lists.postgresql.org; Fri, 12 Apr 2019 01:28:31 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEkzU-0005V8-Go for pgsql-committers@lists.postgresql.org; Fri, 12 Apr 2019 01:28:31 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEkzS-0005XP-Dr for pgsql-committers@lists.postgresql.org; Fri, 12 Apr 2019 01:28:26 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1hEkzR-0001cB-WC for pgsql-committers@lists.postgresql.org; Fri, 12 Apr 2019 01:28:25 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Michael Paquier Subject: pgsql: Fix more strcmp() calls using boolean-like comparisons for resul Message-Id: Date: Fri, 12 Apr 2019 01:28:25 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Preced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