func: void pgstat_bestart() if ( application_name )  pgstat_report_appname ( application_name ); void pgstat_report_appname(const char *appname) volatile PgBackendStatus * beentry = MyBEEntry ; int len ; if ( ! beentry )  len = pg_mbcliplen ( appname , ( strlen ( appname ) ) , 64 - 1 ); memcpy ( ( ( char * ) ( beentry -> st_appname ) ) , appname , len ); beentry -> st_appname [ len ] = '\0'; beentry -> st_changecount ++; 