This repository has been archived by the owner. It is now read-only.

allow flags to be passed to pg:psql #682

Open
mmcgrana opened this Issue Jan 23, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@mmcgrana
Contributor

mmcgrana commented Jan 23, 2013

$ heroku pg:psql -a core-db-stats -f the.sql 
 !    Unknown database: -f. Valid options are: DATABASE_URL, HEROKU_POSTGRESQL_ONYX_URL
@catsby

This comment has been minimized.

Show comment Hide comment
@catsby

catsby Jan 10, 2014

Contributor

What kind of flags, or were you specifically wanting to pipe files in? To do that I do this:

$ heroku pg:psql -a app < file.sql

or

$ cat file.sql | heroku pg:psql -a app

Not quite the same, but functional.

Contributor

catsby commented Jan 10, 2014

What kind of flags, or were you specifically wanting to pipe files in? To do that I do this:

$ heroku pg:psql -a app < file.sql

or

$ cat file.sql | heroku pg:psql -a app

Not quite the same, but functional.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.