Releases: crccheck/postdoc
Releases · crccheck/postdoc
1.0.0
v0.4.0
Add better support for controlling the output via command flags.
For example, with these aliases:
alias dphd="phd --postdoc-dry-run"
alias qphd="phd --postdoc-quiet"
running dphd psql
will print the connection args and that's it. This may be useful if you're doing something like docker run --env PGPASSWORD=hunter2 pg94-util $(dphd psql)
.
running qphd psql
is useful if you're logging stderr and don't want that extra output phd
will spit out.
v0.3.0
mysql and more
- Add ability to connect to mysql too
- Add ability to connect to a url besides the one stored in
DATABASE_URL
- Don't show traceback if user uses ^C
- Echo helper output to stderr instead of stdout
- Use a makefile for managing the project
Fix pg_restore
- Fixes how
pg_restore
expects the database name a little differently. Use it likephd pg_restore < db.dump
- Some minor usability tweaks
- Outputs the command it runs so you can copy paste it
- Adds support for basic
--version
and--help
flags
v0.1.3
Fixes how trying to connect with a password would not work on some systems.
This was the error users would see:
Traceback (most recent call last):
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Environment variables are passed into the env
kwarg now instead of in the process name.