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

From PG Bug reporting form
Subject BUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator
Date
Msg-id 15802-f0911a97f0346526@postgresql.org
Whole thread Raw
Responses Re: BUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15802
Logged by:          David Binderman
Email address:      dcb314@hotmail.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);


pgsql-bugs by date:

Previous
From: Kuntal Ghosh
Date:
Subject: Re: Re: BUG #15801: pg_stat_database update stats_reset only by pg_stat_reset
Next
From: PG Bug reporting form
Date:
Subject: BUG #15803: Autocomplete issues in new 11.3 and 9.6.13 psql client