I'm trying to create a function on my Heroku database. I'll eventually tie it to a trigger.
I've seen the error all over, but I can't seem to see a way around it.
The error I get is...
rake aborted!
PG::Error: ERROR: language "plpgsql" does not exist
What I'm reading is that I can't create triggers or functions on heroku. Unless I go with the shared_database, which is not an option. My app is already multi-tenanted, and makes use of it's own schemas.
I attempted to create the language as suggested, but that is denied.
Question: Am I reading things right, can one create functions in postgesql on heroku?
Question: If one can make functions in the database, then does anyone know how?