Skip to content

Releases: crccheck/postdoc

1.0.0

24 Mar 16:04
Compare
Choose a tag to compare

Initial release

v0.4.0

02 Mar 05:48
Compare
Choose a tag to compare

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...v0.4.0

v0.3.0

02 Mar 05:47
Compare
Choose a tag to compare

mysql and more

09 Jun 16:58
Compare
Choose a tag to compare
  • 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

27 May 22:06
Compare
Choose a tag to compare
  • Fixes how pg_restore expects the database name a little differently. Use it like phd 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

13 May 19:49
Compare
Choose a tag to compare

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.