I have download PostGreSQL 9.6 and pgaudit 9.6 from my RHEL repository. I have installed the rpm.
How to I verify it is installed correctly? I have not been able to find good directions.
It seems that I should perhaps
psql -c "CREATE EXTENSION pgaudit"
After install, but I am not sure. When I do try this, I get
-bash-4.2$ psql -c "CREATE EXTENSION pgaudit;"
ERROR: could not open extension control file "/usr/pgsql-9.6/share/extension/pgaudit.control": No such file or directory
Best Answer
I found out that you have to have
in the configuration file. Then, this command verifies it is working