On Thu, 2026-02-19 at 10:50 +0000, Subramanian,Ramachandran wrote:
> The first two commands work
So you are using an RPM-based distribution.
To list the installed packages, run
rpm -qa | grep postgresql
They should include the "server" package and the "contrib" package.
If you cannot "find" some PostgreSQL commands like "pg_archivecleanup",
it is also conceivable that they are not on your PATH, and that you need
to invoke them with their absolute path, like
/usr/pgsql-18/bin/pg_archivecleanup
(This example assumes PostgreSQL v18.)
Yours,
Laurenz Albe