mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
PG-439: Remove warning of comparison of unsigned enum expression. (#257)
This commit is contained in:
@@ -1938,7 +1938,7 @@ pg_stat_monitor_internal(FunctionCallInfo fcinfo,
|
||||
nulls[i++] = true;
|
||||
|
||||
/* cmd_type at column number 11 */
|
||||
if (tmp.info.cmd_type < 0)
|
||||
if (tmp.info.cmd_type == CMD_NOTHING)
|
||||
nulls[i++] = true;
|
||||
else
|
||||
values[i++] = Int64GetDatumFast(tmp.info.cmd_type);
|
||||
|
||||
Reference in New Issue
Block a user