0

I need to make my PostgreSQL database execute a java class called by a trigger.

I read that you can install java on your PostgreSQL db, but to do this I might need superuser privileges, and don't know how to do this since PostgreSQL on Heroku doesn't offer this option.

Is there a way to do this? Or perhaps a work-around?

Nikolay Kostov
  • 16,433
  • 23
  • 85
  • 123
SGj
  • 21
  • 5

1 Answers1

1

There's a way to it with Notify in Postgres, but then you will have to poll the database periodically and get the notification.