heroku上のpostgreをlocalのpostgreにrestoreするためのワンライナー
動作確認を行ったのはOSX上のpostgres (PostgreSQL) 9.4.1です
% curl `heroku pg:backups public-url --app <heroku app name>|cat` | pg_restore --verbose --clean --no-acl --no-owner -d <local pg db name> -U <local pg user name>