PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15802
PG Version11.3
OSLinux
Opened2019-05-13 08:56:54+00
Reported byDavid Binderman
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15802
Logged by:          David Binderman
Email address:      (redacted)
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);

Messages

DateAuthorSubject
2019-05-13 08:56:54+00PG Bug reporting formBUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator
2019-05-13 13:49:53+00Tom LaneRe: BUG #15802: Comparison of a function returning boolean value using relational (<, >, <= or >=) operator