/usr/bin/check_postgres_logfile is in check-postgres 2.21.0-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/check_postgres
/usr/bin/check_postgres