func: void pgstat_report_activity(BackendState state,const char *cmd_str) volatile PgBackendStatus * beentry = MyBEEntry ; if ( ! beentry )  if ( ! pgstat_track_activities && ( beentry -> st_state ) != STATE_DISABLED )  if ( cmd_str != ( ( void * ) 0 ) )  len = pg_mbcliplen ( cmd_str , ( strlen ( cmd_str ) ) , pgstat_track_activity_query_size - 1 ); memcpy ( ( ( char * ) ( beentry -> st_activity ) ) , cmd_str , len ); beentry -> st_activity [ len ] = '\0'; beentry -> st_activity_start_timestamp = start_timestamp; beentry -> st_changecount ++; 