Postgres Create Trigger Postgresql Datasource Ihop