Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a semantically meaningful way to open a PostgreSQL console. #49

Merged
merged 3 commits into from
Aug 18, 2014

Conversation

dschwertfeger
Copy link
Contributor

This PR adds the ability to open a psql console to the specified database container with the command

dokku postgresql:console <db>

I was looking for a way to do this and for a while I would just manually connect with psql -h 172.17.42.1 -p 49153 -U root db. Then, I saw that the postgresql:restore command does exactly that when you don't provide the dump file with < dump_file.sql.

Since this didn't feel very correct in a semantic way, I added the feature to achieve this with the console command mentioned above.

The README has been updated as well to show the newly added command.

Kloadut added a commit that referenced this pull request Aug 18, 2014
Add a semantically meaningful way to open a PostgreSQL console.
@Kloadut Kloadut merged commit e702a1b into Kloadut:master Aug 18, 2014
@Kloadut
Copy link
Owner

Kloadut commented Aug 18, 2014

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants