This section describes how to remove the setup of pgaudit.
Start the instance
Remove the pgaudit extension
Execute DROP EXTENSION to remove the pgaudit extension from the database.
$ psql -d <database name> =# DROP EXTENSION pgaudit; =# \q
Change postgresql.conf
Remove the parameters below relating to pgaudit.
shared_preload_libraries
pgaudit.config_file
Restart the instance
Remove the pgaudit files
As superuser, run the following command. Note that "<x>" in paths indicates the product version.
$ su - Password:****** # rm -rf /opt/fsepv<x>server64/filesCopiedDuringSetup
Information
The files copied during setup can be checked below.
# find /opt/fsepv<x>server64/OSS/pgaudit