Search

Link

pgoptparse

I extended the python module optparse to add some default options useful for scripting against PostgreSQL databases.  If you’re like me, you have a number of scripts that have a random smattering of optparse setups for connecting to PostgreSQL databases, and get annoyed when you forget just how exactly you wrote the syntax for that particular script.  This is my attempt to unify that behavior in as much of a psql-like way as possible.  Like psql, the option parser will also read your pgpass.

Credits

© Copyright

Wordpress by Press75 & Jason Schuller Tumblr by Brand. Build. Sell.