We have implemented a browser-based system that is run from a PostgreSQL 9.3 database. We have hit a snag in addressing auditing. Is there a way to record if an audit trigger has been turned off. This question is directly related to having checks and balance for admins in the back-end database. While I am aware that the superuser of a database has unrestricted access, we still need to find a way to restrict 'turning off' an audit trigger or at minimum record in the audit database (controlled separately) that the trigger has been turned off and/or on.
Alternatively, can an account other than the postgres account be used solely to administer triggers, without these rights being overridden by the superuser account?
Thanks, DS