Style changes
Extract postgresql args
Docstrings
Add get_postgresql_env test
Remove commented code
Style changes