Using Postgres Hooks to protect functionality in your Postgres database.