/usr/bin/check_postgres_txn_idle is in check-postgres 2.22.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