BUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dcb314(at)hotmail(dot)com
Subject: BUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator
Date: 2019-05-13 08:56:54
Message-ID: 15802-f0911a97f0346526@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15802
Logged by: David Binderman
Email address: dcb314(at)hotmail(dot)com
PostgreSQL version: 11.3
Operating system: Linux
Description:

postgresql-11.3/src/interfaces/libpq/fe-misc.c:1060]: (style) Comparison of
a function returning boolean value using relational (<, >, <= or >=)
operator.

Source code is

if (forRead && conn->ssl_in_use && pgtls_read_pending(conn) > 0)

but

./src/interfaces/libpq/libpq-int.h:extern bool pgtls_read_pending(PGconn
*conn);

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-05-13 09:02:49 BUG #15803: Autocomplete issues in new 11.3 and 9.6.13 psql client
Previous Message Kuntal Ghosh 2019-05-13 08:51:42 Re: Re: BUG #15801: pg_stat_database update stats_reset only by pg_stat_reset