mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +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;
|
nulls[i++] = true;
|
||||||
|
|
||||||
/* cmd_type at column number 11 */
|
/* cmd_type at column number 11 */
|
||||||
if (tmp.info.cmd_type < 0)
|
if (tmp.info.cmd_type == CMD_NOTHING)
|
||||||
nulls[i++] = true;
|
nulls[i++] = true;
|
||||||
else
|
else
|
||||||
values[i++] = Int64GetDatumFast(tmp.info.cmd_type);
|
values[i++] = Int64GetDatumFast(tmp.info.cmd_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user