stop and rollback on error
pwsafe aliases
older psql doesn't support PSQL_HISTORY
little tidy
better implementation of fancy_pwd: support spaces