PG-439: Remove warning of comparison of unsigned enum expression. (#257)
parent
55ba2deee1
commit
1ff4891191
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue