I recently back up my local Postgresql database and imported(restored) into Heroku’s SHARED_DATABASE.
heroku pgbackups:restore SHARED_DATABASE 'url_to_pg_dump'
Everything seems to work except the function, which is not being created during import. I verified the nonexistence via heroku console.
I wonder if this is a limitation of heroku’s SHARED_DATABASE or I messed some setting during the process.
I would like to know from anyone who had experience with this.
Thanks in advance.
Thanks, Mu and Neil.
I worked with support, who pointed me to the new public beta. This looks to be next version of shared_db and I tried it and the import worked fine and postgresql function objects were restored in good order.
http://addons.heroku.com/heroku-shared-postgresql