heroku pg:psql - connect to Heroku Postgres psql:
Enter commands
\p - show query buffer
\r - reset query buffer
\g - send query buffer to server AKA DO STUFF
psql cheat sheet: http://www.postgresonline.com/special_feature.php?sf_name=postgresql83_psql_cheatsheet&outputformat=html