make psql more pleasant to work with. ref:

http://blog.gslin.org/archives/2014/10/25/5197/postgresql-的-command-line-工具調整/