export-to-postgresql-record: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/libexec/perf-core/scripts/python/bin/export-to-postgresql-record - from package: perf

You may install the required package with command yum install {package}
Error in other languages:
export-to-postgresql-record: bevel nie gevind nie
export-to-postgresql-record: comandă negăsită
export-to-postgresql-record: comando não encontrado
export-to-postgresql-record: commande introuvable
export-to-postgresql-record: command not found
export-to-postgresql-record: käsku ei ole
export-to-postgresql-record: không tìm thấy lệnh
export-to-postgresql-record: komanda nerasta
export-to-postgresql-record: Kommando nicht gefunden.
export-to-postgresql-record: kommandot finns inte
export-to-postgresql-record: komut yok
export-to-postgresql-record: nie znaleziono polecenia
export-to-postgresql-record: níor aimsíodh an t-ordú
export-to-postgresql-record: no se encontró la orden
export-to-postgresql-record: no s'ha trobat l'ordre
export-to-postgresql-record: opdracht niet gevonden
export-to-postgresql-record: parancs nem található
export-to-postgresql-record: perintah tidak ditemukan
export-to-postgresql-record: príkaz nenájdený
export-to-postgresql-record: příkaz nenalezen
export-to-postgresql-record: команда не найдена
export-to-postgresql-record: командата не е открита
export-to-postgresql-record: 命令找不到
export-to-postgresql-record: コマンドが見つかりません