title: Creating a function in the postgresql database on heroku
body: <p>I'm trying to create a function on my Heroku database. 
  I'll eventually tie it to a trigger.  </p>
  
  <p>I've seen the error all over, but I can't seem to see a way around it. </p>
  
  <p>The error I get is...</p>
  
  <pre><code>rake aborted!
  PG::Error: ERROR:  language "plpgsql" does not exist
  </code></pre>
  
  <p>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. </p>
  
  <p>I attempted to create the language as suggested, but that is denied.  </p>
  
  <p>Question: Am I reading things right, can one create functions in postgesql on heroku?
  <br>Question: If one can make functions in the database, then does anyone know how?</p>