pg:psqldoes support a --command flag, but it's kindabroken. Maybe supporting --file would work around this? Also, because of https://github.com/heroku/heroku-pg-extras/issues/71, any fix to the toolbelt will not fix things for anyone with pg-extras installed--we'd need to either copy the fix for pg-extras or fix pg-extras.(note: no longer the case October 23, 2014 —@will)
Two-factor authentication breaks piping input to
pg:psql
from standard in.pg:psql
does support a--command
flag, but it's kinda broken. Maybe supporting--file
would work around this?Also, because of https://github.com/heroku/heroku-pg-extras/issues/71, any fix to the toolbelt will not fix things for anyone with pg-extras installed--we'd need to either copy the fix for pg-extras or fix pg-extras.(note: no longer the case October 23, 2014 —@will)Any other ideas?
/cc @heroku/department-of-data